IssuingAuthorizationMerchantData.fromJson constructor
IssuingAuthorizationMerchantData.fromJson(
- Object? json
Implementation
factory IssuingAuthorizationMerchantData.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingAuthorizationMerchantData(
category: (map['category'] as String),
categoryCode: (map['category_code'] as String),
city: map['city'] == null ? null : (map['city'] as String),
country: map['country'] == null ? null : (map['country'] as String),
name: map['name'] == null ? null : (map['name'] as String),
networkId: (map['network_id'] as String),
postalCode:
map['postal_code'] == null ? null : (map['postal_code'] as String),
state: map['state'] == null ? null : (map['state'] as String),
terminalId:
map['terminal_id'] == null ? null : (map['terminal_id'] as String),
url: map['url'] == null ? null : (map['url'] as String),
);
}