copyWith method

ContentStateInput copyWith({
  1. String? name,
  2. String? color,
  3. int? id,
  4. String? spaceKey,
})

Implementation

ContentStateInput copyWith(
    {String? name, String? color, int? id, String? spaceKey}) {
  return ContentStateInput(
    name: name ?? this.name,
    color: color ?? this.color,
    id: id ?? this.id,
    spaceKey: spaceKey ?? this.spaceKey,
  );
}