copyWith method

SpacePermission copyWith({
  1. String? id,
  2. SpacePermissionPrincipal? principal,
  3. SpacePermissionOperation? operation,
})

Implementation

SpacePermission copyWith(
    {String? id,
    SpacePermissionPrincipal? principal,
    SpacePermissionOperation? operation}) {
  return SpacePermission(
    id: id ?? this.id,
    principal: principal ?? this.principal,
    operation: operation ?? this.operation,
  );
}