copyWith static method

AdConfigDataModel copyWith({
  1. List? tap,
  2. int? native,
  3. int? banner,
  4. Map? failed,
  5. bool showAds = false,
})

Implementation

static AdConfigDataModel copyWith({
  List? tap,
  int? native,
  int? banner,
  Map? failed,
  bool showAds = false,
}) {
  return AdConfigDataModel(
    native: native,
    banner: banner,
    showAds: showAds,
    failed: failed,
    tap: tap,
  );
}