PEGooglePayAddress.fromJson constructor

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

Implementation

factory PEGooglePayAddress.fromJson(Map<String, dynamic> json) {
  return PEGooglePayAddress(
    address1: json['address1'] as String?,
    address2: json['address2'] as String?,
    address3: json['address3'] as String?,
    administrativeArea: json['administrativeArea'] as String?,
    countryCode: json['countryCode'] as String?,
    locality: json['locality'] as String?,
    name: json['name'] as String?,
    phoneNumber: json['phoneNumber'] as String?,
    postalCode: json['postalCode'] as String?,
  );
}