PossibleInterventionAddress.fromJson constructor

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

Factory constructor to create an instance from JSON.

Implementation

factory PossibleInterventionAddress.fromJson(Map<String, dynamic> json) {
  return PossibleInterventionAddress(
    street: json['street'] as String?,
    city: json['city'] as String?,
    district: json['district'] as String?,
    state: json['state'] as String?,
    country: json['country'] as String?,
    postalCode: json['postalCode'] as String?,
  );
}