copyWith method
Implementation
Space copyWith(
{dynamic id,
String? key,
String? name,
String? type,
String? status,
DateTime? createdAt,
dynamic homepageId,
SpaceDescription? description,
SpaceIcon? icon}) {
return Space(
id: id ?? this.id,
key: key ?? this.key,
name: name ?? this.name,
type: type ?? this.type,
status: status ?? this.status,
createdAt: createdAt ?? this.createdAt,
homepageId: homepageId ?? this.homepageId,
description: description ?? this.description,
icon: icon ?? this.icon,
);
}