copyWith method

MarketplaceAccountsResponse copyWith({
  1. int? totalItems,
  2. List<MarketPlaceAccountItem>? accounts,
})

Implementation

MarketplaceAccountsResponse copyWith({
  int? totalItems,
  List<MarketPlaceAccountItem>? accounts,
}) {
  return MarketplaceAccountsResponse(
    totalItems: totalItems ?? this.totalItems,
    accounts: accounts ?? this.accounts,
  );
}