PersonDeletedEvent.fromJson constructor

PersonDeletedEvent.fromJson(
  1. Object? json
)

Implementation

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