copyWith method
SpaceProperty
copyWith({
- String? id,
- String? key,
- dynamic value,
- DateTime? createdAt,
- String? createdBy,
- SpacePropertyVersion? version,
Implementation
SpaceProperty copyWith(
{String? id,
String? key,
dynamic value,
DateTime? createdAt,
String? createdBy,
SpacePropertyVersion? version}) {
return SpaceProperty(
id: id ?? this.id,
key: key ?? this.key,
value: value ?? this.value,
createdAt: createdAt ?? this.createdAt,
createdBy: createdBy ?? this.createdBy,
version: version ?? this.version,
);
}