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