copyWith method

StarSubscriptions copyWith({
  1. StarAmount? starAmount,
  2. List<StarSubscription>? subscriptions,
  3. int? requiredStarCount,
  4. String? nextOffset,
})

Implementation

StarSubscriptions copyWith({
  StarAmount? starAmount,
  List<StarSubscription>? subscriptions,
  int? requiredStarCount,
  String? nextOffset,
}) =>
    StarSubscriptions(
      starAmount: starAmount ?? this.starAmount,
      subscriptions: subscriptions ?? this.subscriptions,
      requiredStarCount: requiredStarCount ?? this.requiredStarCount,
      nextOffset: nextOffset ?? this.nextOffset,
    );