copyWith method

  1. @override
InlineQueryResultGame copyWith({
  1. String? id,
  2. Game? game,
})
override

Implementation

@override
InlineQueryResultGame copyWith({
  String? id,
  Game? game,
}) =>
    InlineQueryResultGame(
      id: id ?? this.id,
      game: game ?? this.game,
    );