copyWith method

BulkPermissionsRequestBean copyWith({
  1. String? accountId,
  2. List<String>? globalPermissions,
  3. List<BulkProjectPermissions>? projectPermissions,
})

Implementation

BulkPermissionsRequestBean copyWith(
    {String? accountId,
    List<String>? globalPermissions,
    List<BulkProjectPermissions>? projectPermissions}) {
  return BulkPermissionsRequestBean(
    accountId: accountId ?? this.accountId,
    globalPermissions: globalPermissions ?? this.globalPermissions,
    projectPermissions: projectPermissions ?? this.projectPermissions,
  );
}