copyWith method
InternalLinkTypeTonConnect
copyWith({
- int? version,
- String? dappClientId,
- TonConnectConnectRequest? connectRequest,
- String? returnStrategy,
- String? rpcRequest,
- String? traceId,
- dynamic extra,
- int? clientId,
override
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
@override
InternalLinkTypeTonConnect copyWith({
int? version,
String? dappClientId,
TonConnectConnectRequest? connectRequest,
String? returnStrategy,
String? rpcRequest,
String? traceId,
dynamic extra,
int? clientId,
}) => InternalLinkTypeTonConnect(
version: version ?? this.version,
dappClientId: dappClientId ?? this.dappClientId,
connectRequest: connectRequest ?? this.connectRequest,
returnStrategy: returnStrategy ?? this.returnStrategy,
rpcRequest: rpcRequest ?? this.rpcRequest,
traceId: traceId ?? this.traceId,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);