ProjectPermissions.fromJson constructor

ProjectPermissions.fromJson(
  1. Map<String, Object?> json
)

Implementation

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