copyWith method

Business copyWith({
  1. String? businessArea,
  2. String? tel,
  3. String? parkingType,
  4. String? alias,
  5. String? cost,
  6. String? cPid,
  7. String? openTimeToday,
  8. String? openTimeWeek,
  9. String? tag,
})

Implementation

Business copyWith({  String? businessArea,
  String? tel,
  String? parkingType,
  String? alias,
  String? cost,
  String? cPid,
  String? openTimeToday,
  String? openTimeWeek,
  String? tag,
}) => Business(  businessArea: businessArea ?? _businessArea,
  tel: tel ?? _tel,
  parkingType: parkingType ?? _parkingType,
  alias: alias ?? _alias,
  cost: cost ?? _cost,
  cPid: cPid ?? _cPid,
  openTimeToday: openTimeToday ?? _openTimeToday,
  openTimeWeek: openTimeWeek ?? _openTimeWeek,
  tag: tag ?? _tag,
);