copyWith method
CountryListResponseModel
copyWith({
- List<
Countrylist> ? data, - num? success,
- num? totalRecords,
- String? message,
Implementation
CountryListResponseModel copyWith({ List<Countrylist>? data,
num? success,
num? totalRecords,
String? message,
}) => CountryListResponseModel( data: data ?? _data,
success: success ?? _success,
totalRecords: totalRecords ?? _totalRecords,
message: message ?? _message,
);