TransferUpdatedEvent.fromJson constructor

TransferUpdatedEvent.fromJson(
  1. Object? json
)

Implementation

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