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