IssuingNetworkTokenVisa.fromJson constructor

IssuingNetworkTokenVisa.fromJson(
  1. Object? json
)

Implementation

factory IssuingNetworkTokenVisa.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingNetworkTokenVisa(
    cardReferenceId: (map['card_reference_id'] as String),
    tokenReferenceId: (map['token_reference_id'] as String),
    tokenRequestorId: (map['token_requestor_id'] as String),
    tokenRiskScore: map['token_risk_score'] == null
        ? null
        : (map['token_risk_score'] as String),
  );
}