factory ProjectPermissions.fromJson(Map<String, Object?> json) { return ProjectPermissions( canEdit: json[r'canEdit'] as bool? ?? false, ); }