IssuingNetworkTokenMastercard.fromJson constructor
IssuingNetworkTokenMastercard.fromJson(
- Object? json
Implementation
factory IssuingNetworkTokenMastercard.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingNetworkTokenMastercard(
cardReferenceId: map['card_reference_id'] == null
? null
: (map['card_reference_id'] as String),
tokenReferenceId: (map['token_reference_id'] as String),
tokenRequestorId: (map['token_requestor_id'] as String),
tokenRequestorName: map['token_requestor_name'] == null
? null
: (map['token_requestor_name'] as String),
);
}