AddressFormFilledEvent.fromJson constructor

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

Implementation

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