PlanUpdatedEvent.fromJson constructor

PlanUpdatedEvent.fromJson(
  1. Object? json
)

Implementation

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