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