IssuingTransactionOrId.fromJson constructor

IssuingTransactionOrId.fromJson(
  1. Object? json
)

Implementation

factory IssuingTransactionOrId.fromJson(Object? json) {
  if (json is String) {
    return IssuingTransactionId(id: json);
  }
  return IssuingTransaction.fromJson(json);
}