DeletedPerson.fromJson constructor

DeletedPerson.fromJson(
  1. Object? json
)

Implementation

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