copyWith method

BulkPermissionGrants copyWith({
  1. List<String>? globalPermissions,
  2. List<BulkProjectPermissionGrants>? projectPermissions,
})

Implementation

BulkPermissionGrants copyWith(
    {List<String>? globalPermissions,
    List<BulkProjectPermissionGrants>? projectPermissions}) {
  return BulkPermissionGrants(
    globalPermissions: globalPermissions ?? this.globalPermissions,
    projectPermissions: projectPermissions ?? this.projectPermissions,
  );
}