copyWith method

ConstructionData2 copyWith({
  1. String? constructionId,
  2. String? title,
  3. String? description,
  4. String? tagLine,
  5. String? progressPercent,
  6. String? constructionDate,
})

Implementation

ConstructionData2 copyWith({  String? constructionId,
  String? title,
  String? description,
  String? tagLine,
  String? progressPercent,
  String? constructionDate,
}) => ConstructionData2(  constructionId: constructionId ?? _constructionId,
  title: title ?? _title,
  description: description ?? _description,
  tagLine: tagLine ?? _tagLine,
  progressPercent: progressPercent ?? _progressPercent,
  constructionDate: constructionDate ?? _constructionDate,
);