CreateLinkBillDto.fromJson constructor

CreateLinkBillDto.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateLinkBillDto.fromJson(Map<String, dynamic> json) {
  return CreateLinkBillDto(
    billIds:
        (json["billIds"] as List<dynamic>?)?.map((e) => e as String).toList(),
    type: decodeBillLinkingTypeDto(
        BillLinkingTypeDtoEnumMap, json["type"] as String),
  );
}