Skip to content

Commit

Permalink
Deploying to gh-pages from @ ff9c7a8 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon committed Apr 19, 2024
1 parent 8f3aaca commit d6e42bb
Show file tree
Hide file tree
Showing 14 changed files with 305 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<li class="section-title">
<a href="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus-class.html#instance-properties">Properties</a>
</li>
<li><a href="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus/cookie.html">cookie</a></li>
<li class="inherited"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Object/hashCode.html">hashCode</a></li>
<li class="inherited"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Object/runtimeType.html">runtimeType</a></li>
<li><a href="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus/status.html">status</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ <h2>Constructors</h2>

<dl class="constructor-summary-list">
<dt id="LoginStatus" class="callable">
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus/LoginStatus.html">LoginStatus</a></span><span class="signature">(<span class="parameter" id="-param-status">{<span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/int-class.html">int</a></span> <span class="parameter-name">status</span>, </span><span class="parameter" id="-param-statusVerbose"><span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">statusVerbose</span>, </span><span class="parameter" id="-param-userEmail"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userEmail</span>, </span><span class="parameter" id="-param-userName"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userName</span>, </span><span class="parameter" id="-param-userId"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userId</span>}</span>)</span>
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus/LoginStatus.html">LoginStatus</a></span><span class="signature">(<span class="parameter" id="-param-status">{<span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/int-class.html">int</a></span> <span class="parameter-name">status</span>, </span><span class="parameter" id="-param-statusVerbose"><span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">statusVerbose</span>, </span><span class="parameter" id="-param-userEmail"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userEmail</span>, </span><span class="parameter" id="-param-userName"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userName</span>, </span><span class="parameter" id="-param-userId"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userId</span>, </span><span class="parameter" id="-param-cookie"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">cookie</span>}</span>)</span>
</dt>
<dd>

</dd>
<dt id="LoginStatus.fromJson" class="callable">
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus/LoginStatus.fromJson.html">LoginStatus.fromJson</a></span><span class="signature">(<span class="parameter" id="fromJson-param-json"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span> <span class="parameter-name">json</span></span>)</span>
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus/LoginStatus.fromJson.html">LoginStatus.fromJson</a></span><span class="signature">(<span class="parameter" id="fromJson-param-json"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span> <span class="parameter-name">json</span>, </span><span class="parameter" id="fromJson-param-headers">[<span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>, <span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>&gt;</span>?</span> <span class="parameter-name">headers</span>]</span>)</span>
</dt>
<dd>

Expand All @@ -110,6 +110,18 @@ <h2>Constructors</h2>
<h2>Properties</h2>

<dl class="properties">
<dt id="cookie" class="property">
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus/cookie.html">cookie</a></span>
<span class="signature">&#8594; <a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span>

</dt>
<dd>
The cookie is necessary for some GET requests that require an
authenticated user.
<div class="features"><span class="feature">final</span></div>

</dd>

<dt id="hashCode" class="property inherited">
<span class="name"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Object/hashCode.html">hashCode</a></span>
<span class="signature">&#8594; <a href="https://api.dart.dev/stable/3.3.4/dart-core/int-class.html">int</a></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ <h1><span class="kind-constructor">LoginStatus.fromJson</span> constructor

<section class="multi-line-signature">

<span class="name ">LoginStatus.fromJson</span>(<wbr><ol class="parameter-list"><li><span class="parameter" id="fromJson-param-json"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span> <span class="parameter-name">json</span></span></li>
<span class="name ">LoginStatus.fromJson</span>(<wbr><ol class="parameter-list"><li><span class="parameter" id="fromJson-param-json"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span> <span class="parameter-name">json</span>, </span></li>
<li><span class="parameter" id="fromJson-param-headers">[<span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>, <span class="type-parameter"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span>&gt;</span>?</span> <span class="parameter-name">headers</span>]</span></li>
</ol>)
</section>

Expand All @@ -72,12 +73,15 @@ <h1><span class="kind-constructor">LoginStatus.fromJson</span> constructor

<section class="summary source-code" id="source">
<h2><span>Implementation</span></h2>
<pre class="language-dart"><code class="language-dart">factory LoginStatus.fromJson(Map&lt;String, dynamic&gt; json) =&gt; LoginStatus(
<pre class="language-dart"><code class="language-dart">factory LoginStatus.fromJson(Map&lt;String, dynamic&gt; json,
[Map&lt;String, String&gt;? headers]) =&gt;
LoginStatus(
status: JsonObject.parseInt(json[&#39;status&#39;])!,
statusVerbose: json[&#39;status_verbose&#39;] as String,
userId: json[&#39;user_id&#39;] as String?,
userEmail: json[&#39;user&#39;]?[&#39;email&#39;] as String?,
userName: json[&#39;user&#39;]?[&#39;name&#39;] as String?,
cookie: headers?[&#39;set-cookie&#39;],
);</code></pre>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ <h1><span class="kind-constructor">LoginStatus</span> constructor
<li><span class="parameter" id="-param-statusVerbose"><span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">statusVerbose</span>, </span></li>
<li><span class="parameter" id="-param-userEmail"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userEmail</span>, </span></li>
<li><span class="parameter" id="-param-userName"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userName</span>, </span></li>
<li><span class="parameter" id="-param-userId"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userId</span>}</span></li>
<li><span class="parameter" id="-param-userId"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">userId</span>, </span></li>
<li><span class="parameter" id="-param-cookie"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">cookie</span>}</span></li>
</ol>)
</section>

Expand All @@ -82,6 +83,7 @@ <h2><span>Implementation</span></h2>
this.userEmail,
this.userName,
this.userId,
this.cookie,
});</code></pre>
</section>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
<meta name="description" content="API docs for the cookie property from the LoginStatus class, for the Dart programming language.">
<title>cookie property - LoginStatus class - login_status library - Dart API</title>



<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" rel="stylesheet">

<link rel="stylesheet" href="../../static-assets/github.css?v1">
<link rel="stylesheet" href="../../static-assets/styles.css?v1">
<link rel="icon" href="../../static-assets/favicon.png?v1">


</head>


<body data-base-href="../../" data-using-base-href="false" class="light-theme">

<div id="overlay-under-drawer"></div>

<header id="title">
<span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
<ol class="breadcrumbs gt-separated dark hidden-xs">
<li><a href="../../index.html">openfoodfacts</a></li>
<li><a href="../../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status-library.html">src&#47;model&#47;login_status.dart</a></li>
<li><a href="../../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus-class.html">LoginStatus</a></li>
<li class="self-crumb">cookie property</li>
</ol>
<div class="self-name">cookie</div>
<form class="search navbar-right" role="search">
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
<div class="toggle" id="theme-button">
<label for="theme">
<input type="checkbox" id="theme" value="light-theme">
<span id="dark-theme-button" class="material-symbols-outlined">
brightness_4
</span>
<span id="light-theme-button" class="material-symbols-outlined">
brightness_5
</span>
</label>
</div>
</header>
<main>

<div
id="dartdoc-main-content"
class="main-content"
data-above-sidebar="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status&#47;LoginStatus-class-sidebar.html"
data-below-sidebar="">
<div>
<h1><span class="kind-property">cookie</span> property
</h1></div>

<section class="multi-line-signature">

<a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?
<span class="name ">cookie</span>
<div class="features"><span class="feature">final</span></div>

</section>

<section class="desc markdown">
<p>The cookie is necessary for some GET requests that require an
authenticated user.</p>
</section>


<section class="summary source-code" id="source">
<h2><span>Implementation</span></h2>
<pre class="language-dart"><code class="language-dart">final String? cookie;</code></pre>
</section>


</div> <!-- /.main-content -->

<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
<!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
<header id="header-search-sidebar" class="hidden-l">
<form class="search-sidebar" role="search">
<input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
</header>

<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
<li><a href="../../index.html">openfoodfacts</a></li>
<li><a href="../../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status-library.html">login_status</a></li>
<li><a href="../../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_login_status/LoginStatus-class.html">LoginStatus</a></li>
<li class="self-crumb">cookie property</li>
</ol>


<h5>LoginStatus class</h5>
<div id="dartdoc-sidebar-left-content"></div>
</div><!--/.sidebar-offcanvas-->

<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
</div><!--/.sidebar-offcanvas-->

</main>

<footer>
<span class="no-break">
openfoodfacts
3.5.0
</span>


</footer>



<script src="../../static-assets/highlight.pack.js?v1"></script>
<script src="../../static-assets/docs.dart.js"></script>



</body>

</html>

Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ <h2><span>Implementation</span></h2>
&#39;${userId == null ? &#39;&#39; : &#39;,userId:$userId&#39;}&#39;
&#39;${userEmail == null ? &#39;&#39; : &#39;,userEmail:$userEmail&#39;}&#39;
&#39;${userName == null ? &#39;&#39; : &#39;,userName:$userName&#39;}&#39;
&#39;${cookie == null ? &#39;&#39; : &#39;,cookie:$cookie&#39;}&#39;
&#39;)&#39;;</code></pre>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<a href="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_user/User-class.html#instance-properties">Properties</a>
</li>
<li><a href="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_user/User/comment.html">comment</a></li>
<li><a href="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_user/User/cookie.html">cookie</a></li>
<li class="inherited"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Object/hashCode.html">hashCode</a></li>
<li><a href="file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_user/User/password.html">password</a></li>
<li class="inherited"><a href="https://api.dart.dev/stable/3.3.4/dart-core/Object/runtimeType.html">runtimeType</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h2>Constructors</h2>

<dl class="constructor-summary-list">
<dt id="User" class="callable">
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_user/User/User.html">User</a></span><span class="signature">(<span class="parameter" id="-param-comment">{<span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">comment</span>, </span><span class="parameter" id="-param-userId"><span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">userId</span>, </span><span class="parameter" id="-param-password"><span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">password</span>}</span>)</span>
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_user/User/User.html">User</a></span><span class="signature">(<span class="parameter" id="-param-comment">{<span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">comment</span>, </span><span class="parameter" id="-param-userId"><span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">userId</span>, </span><span class="parameter" id="-param-password"><span>required</span> <span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">password</span>, </span><span class="parameter" id="-param-cookie"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">cookie</span>}</span>)</span>
</dt>
<dd>

Expand Down Expand Up @@ -121,6 +121,17 @@ <h2>Properties</h2>

<div class="features"><span class="feature">final</span></div>

</dd>

<dt id="cookie" class="property">
<span class="name"><a href="../file-___home_runner_work_openfoodfacts-dart_openfoodfacts-dart_lib_src_model_user/User/cookie.html">cookie</a></span>
<span class="signature">&#8594; <a href="https://api.dart.dev/stable/3.3.4/dart-core/String-class.html">String</a>?</span>

</dt>
<dd>

<div class="features"><span class="feature">final</span></div>

</dd>

<dt id="hashCode" class="property inherited">
Expand Down
Loading

0 comments on commit d6e42bb

Please sign in to comment.