copyWith method

HomeDetailAgency copyWith({
  1. int? agencyId,
  2. String? label,
})

Implementation

HomeDetailAgency copyWith({
  int? agencyId,
  String? label,
  String? logo,
}) =>
    HomeDetailAgency(
      agencyId: agencyId ?? this.agencyId,
      label: label ?? this.label,
      logo: logo ?? this.logo,
    );