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
InternalLinkTypeWebApp copyWith({
String? botUsername,
String? webAppShortName,
String? startParameter,
dynamic extra,
int? clientId,
}) =>
InternalLinkTypeWebApp(
botUsername: botUsername ?? this.botUsername,
webAppShortName: webAppShortName ?? this.webAppShortName,
startParameter: startParameter ?? this.startParameter,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);