IssuingTransactionTreasury.fromJson constructor

IssuingTransactionTreasury.fromJson(
  1. Object? json
)

Implementation

factory IssuingTransactionTreasury.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingTransactionTreasury(
    receivedCredit: map['received_credit'] == null
        ? null
        : (map['received_credit'] as String),
    receivedDebit: map['received_debit'] == null
        ? null
        : (map['received_debit'] as String),
  );
}