Address.fromJson constructor

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

Implementation

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