copyWith method

AhaiCardHorizontalModel copyWith({
  1. required String key,
  2. required List<AhaiCardHorizontalDetailModel> data,
})

Implementation

AhaiCardHorizontalModel copyWith({
  required String key,
  required List<AhaiCardHorizontalDetailModel> data,
}) =>
    AhaiCardHorizontalModel(
      key: key,
      data: data,
    );