IssuingTransactionNetworkData.fromJson constructor

IssuingTransactionNetworkData.fromJson(
  1. Object? json
)

Implementation

factory IssuingTransactionNetworkData.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingTransactionNetworkData(
    authorizationCode: map['authorization_code'] == null
        ? null
        : (map['authorization_code'] as String),
    processingDate: map['processing_date'] == null
        ? null
        : (map['processing_date'] as String),
    transactionId: map['transaction_id'] == null
        ? null
        : (map['transaction_id'] as String),
  );
}