CardIssuingAccountTermsOfService.fromJson constructor
CardIssuingAccountTermsOfService.fromJson(
- Object? json
Implementation
factory CardIssuingAccountTermsOfService.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return CardIssuingAccountTermsOfService(
date: map['date'] == null ? null : (map['date'] as num).toInt(),
ip: map['ip'] == null ? null : (map['ip'] as String),
userAgent:
map['user_agent'] == null ? null : (map['user_agent'] as String),
);
}