fromJson static method

PassportElementUtilityBill? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static PassportElementUtilityBill? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return PassportElementUtilityBill(
    utilityBill: PersonalDocument.fromJson(
      tdMapFromJson(json['utility_bill']),
    ),
  );
}