copyWith method

  1. @override
InternalLinkTypeBotStart copyWith({
  1. String? botUsername,
  2. String? startParameter,
  3. bool? autostart,
  4. dynamic extra,
  5. int? clientId,
})
override

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,
    );