ChargeExpiredEvent.fromJson constructor

ChargeExpiredEvent.fromJson(
  1. Object? json
)

Implementation

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