copyWith method

  1. @override
InternalLinkTypePassportDataRequest copyWith({
  1. int? botUserId,
  2. String? scope,
  3. String? publicKey,
  4. String? nonce,
  5. String? callbackUrl,
  6. dynamic extra,
  7. int? clientId,
})
override

Implementation

@override
InternalLinkTypePassportDataRequest copyWith({
  int? botUserId,
  String? scope,
  String? publicKey,
  String? nonce,
  String? callbackUrl,
  dynamic extra,
  int? clientId,
}) =>
    InternalLinkTypePassportDataRequest(
      botUserId: botUserId ?? this.botUserId,
      scope: scope ?? this.scope,
      publicKey: publicKey ?? this.publicKey,
      nonce: nonce ?? this.nonce,
      callbackUrl: callbackUrl ?? this.callbackUrl,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );