copyWith method

FoundPositions copyWith({
  1. int? totalCount,
  2. List<int>? positions,
})

Implementation

FoundPositions copyWith({
  int? totalCount,
  List<int>? positions,
}) =>
    FoundPositions(
      totalCount: totalCount ?? this.totalCount,
      positions: positions ?? this.positions,
    );