copyWith method

CreateTonConnectSession copyWith({
  1. String? dappClientId,
  2. String? manifestUrl,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

CreateTonConnectSession copyWith({
  String? dappClientId,
  String? manifestUrl,
}) => CreateTonConnectSession(
  dappClientId: dappClientId ?? this.dappClientId,
  manifestUrl: manifestUrl ?? this.manifestUrl,
);