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