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