copyWithWrapped method

AuthSettings copyWithWrapped({
  1. Wrapped<bool?>? enableAuth,
  2. Wrapped<List<AllowlistItem>?>? allowlist,
  3. Wrapped? shareableToken,
})

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