copyWith method

HomePurposeType copyWith({
  1. int? id,
  2. String? label,
  3. String? shortDescription,
})

Implementation

HomePurposeType copyWith({
  int? id,
  String? label,
  String? shortDescription,
}) =>
    HomePurposeType(
      id: id ?? this.id,
      label: label ?? this.label,
      shortDescription: shortDescription ?? this.shortDescription,
    );