copyWithWrapped method
AuthSettings
copyWithWrapped({
- Wrapped<
bool?> ? enableAuth, - Wrapped<
List< ? allowlist,AllowlistItem> ?>
Implementation
AuthSettings copyWithWrapped(
{Wrapped<bool?>? enableAuth,
Wrapped<List<AllowlistItem>?>? allowlist,
Wrapped<dynamic>? shareableToken}) {
return AuthSettings(
enableAuth: (enableAuth != null ? enableAuth.value : this.enableAuth),
allowlist: (allowlist != null ? allowlist.value : this.allowlist),
shareableToken: (shareableToken != null
? shareableToken.value
: this.shareableToken));
}