TreasuryReceivedCreditFailedEvent.fromJson constructor

TreasuryReceivedCreditFailedEvent.fromJson(
  1. Object? json
)

Implementation

factory TreasuryReceivedCreditFailedEvent.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasuryReceivedCreditFailedEvent(
      object: TreasuryReceivedCredit.fromJson(map['object']));
}