TreasuryReceivedCreditCreatedEvent.fromJson constructor

TreasuryReceivedCreditCreatedEvent.fromJson(
  1. Object? json
)

Implementation

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