copyWith method
Implementation
SavedCardsModel copyWith({
bool? success,
int? code,
String? description,
List<CardData>? data,
}) =>
SavedCardsModel(
success: success ?? this.success,
code: code ?? this.code,
description: description ?? this.description,
data: data ?? this.data,
);