copyWith method

StarAmount copyWith({
  1. int? starCount,
  2. int? nanostarCount,
})

Implementation

StarAmount copyWith({
  int? starCount,
  int? nanostarCount,
}) =>
    StarAmount(
      starCount: starCount ?? this.starCount,
      nanostarCount: nanostarCount ?? this.nanostarCount,
    );