ChargeFailedEvent.fromJson constructor

ChargeFailedEvent.fromJson(
  1. Object? json
)

Implementation

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