copyWith method

SpacePermissionCreate copyWith({
  1. SpacePermissionCreateSubjects? subjects,
  2. OperationCheckResult? operation,
  3. bool? anonymousAccess,
  4. bool? unlicensedAccess,
})

Implementation

SpacePermissionCreate copyWith(
    {SpacePermissionCreateSubjects? subjects,
    OperationCheckResult? operation,
    bool? anonymousAccess,
    bool? unlicensedAccess}) {
  return SpacePermissionCreate(
    subjects: subjects ?? this.subjects,
    operation: operation ?? this.operation,
    anonymousAccess: anonymousAccess ?? this.anonymousAccess,
    unlicensedAccess: unlicensedAccess ?? this.unlicensedAccess,
  );
}