copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
InternalLinkTypeGame copyWith({
String? botUsername,
String? gameShortName,
dynamic extra,
int? clientId,
}) =>
InternalLinkTypeGame(
botUsername: botUsername ?? this.botUsername,
gameShortName: gameShortName ?? this.gameShortName,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);