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