DeletedAccount.fromJson constructor

DeletedAccount.fromJson(
  1. Object? json
)

Implementation

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