ChargePendingEvent.fromJson constructor

ChargePendingEvent.fromJson(
  1. Object? json
)

Implementation

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