Address.fromMap constructor

Address.fromMap(
  1. Map map
)

Implementation

factory Address.fromMap(Map<dynamic, dynamic> map) => Address(
    type: map['type'],
    customLabel: map['customLabel'],
    addressLine: (map['addressLine'] as List<dynamic>).cast<String>(),
    pobox: map['pobox'],
    neighborhood: map['neighborhood'],
    city: map['city'],
    region: map['region'],
    postcode: map['postcode'],
    country: map['country']);