AddressUI.fromJson constructor

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

Implementation

factory AddressUI.fromJson(Map<String, dynamic> json) {
  return AddressUI(
    addressFields: (json['addressFields'] as List)
        .map((e) => AddressFields.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}