copyWith method

SearchAssetModelRes copyWith({
  1. List<AssetModel>? entities,
  2. bool? ok,
  3. String? msg,
  4. int? page,
  5. int? size,
  6. int? total,
})

Implementation

SearchAssetModelRes copyWith(
    {List<AssetModel>? entities,
    bool? ok,
    String? msg,
    int? page,
    int? size,
    int? total}) {
  return SearchAssetModelRes(
      entities: entities ?? this.entities,
      ok: ok ?? this.ok,
      msg: msg ?? this.msg,
      page: page ?? this.page,
      size: size ?? this.size,
      total: total ?? this.total);
}