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