ApplePayDomain.fromJson constructor
ApplePayDomain.fromJson(
- Object? json
Implementation
factory ApplePayDomain.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ApplePayDomain(
created:
DateTime.fromMillisecondsSinceEpoch((map['created'] as int).toInt()),
domainName: (map['domain_name'] as String),
id: (map['id'] as String),
livemode: (map['livemode'] as bool),
);
}