| <!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, initial-scale=1"> |
| <meta name="generator" content="made with love by dartdoc 0.8.1"> |
| <title>ex library - Dart API</title> |
| <!-- required because all the links are pseudo-absolute --> |
| <base href=".."> |
| |
| <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'> |
| <link rel="stylesheet" href="static-assets/prettify.css"> |
| <link rel="stylesheet" href="static-assets/css/bootstrap.min.css"> |
| <link rel="stylesheet" href="static-assets/styles.css"> |
| |
| <meta name="description" content="ex library API docs, for the Dart programming language."> |
| <link rel="icon" href="static-assets/favicon.png"> |
| |
| <!-- Do not remove placeholder --> |
| <!-- Header Placeholder --> |
| </head> |
| |
| <body> |
| |
| <div id="overlay-under-drawer"></div> |
| |
| <header class="container-fluid" id="title"> |
| <nav class="navbar navbar-fixed-top"> |
| <div class="container"> |
| <div class="row"> |
| <div class="col-sm-12 contents"> |
| <button id="sidenav-left-toggle" type="button"> </button> |
| <ol class="breadcrumbs gt-separated hidden-xs"> |
| <li><a href="index.html">test_package</a></li> |
| <li class="self-crumb">ex</li> |
| </ol> |
| <div class="self-name">ex</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> <!-- /col --> |
| </div> <!-- /row --> |
| </div> <!-- /container --> |
| </nav> |
| |
| <div class="container masthead"> |
| <div class="row"> |
| <div class="col-sm-12 contents"> |
| <ol class="breadcrumbs gt-separated visible-xs"> |
| <li><a href="index.html">test_package</a></li> |
| <li class="self-crumb">ex</li> |
| </ol> |
| <div class="title-description"> |
| <h1 class="title"> |
| <span class="kind">library</span> ex |
| </h1> |
| </div> |
| <ul class="subnav"> |
| <li><a href="ex/ex-library.html#constants">Constants</a></li> |
| <li><a href="ex/ex-library.html#typedefs">Typedefs</a></li> |
| <li><a href="ex/ex-library.html#properties">Properties</a></li> |
| <li><a href="ex/ex-library.html#functions">Functions</a></li> |
| <li><a href="ex/ex-library.html#enums">Enums</a></li> |
| <li><a href="ex/ex-library.html#classes">Classes</a></li> |
| <li><a href="ex/ex-library.html#exceptions">Exceptions</a></li> |
| </ul> |
| </div> <!-- /col --> |
| </div> <!-- /row --> |
| </div> <!-- /container --> |
| |
| </header> |
| |
| <div class="container body"> |
| <div class="row"> |
| |
| <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left"> |
| <h5><a href="index.html">test_package</a></h5> |
| |
| <ol> |
| <li class="section-title"><a href="index.html">Libraries</a></li> |
| <li><a href="anonymous_library/anonymous_library-library.html">anonymous_library</a></li> |
| <li><a href="another_anonymous_lib/another_anonymous_lib-library.html">another_anonymous_lib</a></li> |
| <li><a href="code_in_comments/code_in_comments-library.html">code_in_comments</a></li> |
| <li><a href="css/css-library.html">css</a></li> |
| <li><a href="ex/ex-library.html">ex</a></li> |
| <li><a class="deprecated" href="is_deprecated/is_deprecated-library.html">is_deprecated</a></li> |
| <li><a href="two_exports/two_exports-library.html">two_exports</a></li> |
| </ol> |
| </div> |
| |
| <div class="col-xs-12 col-sm-9 col-md-8 main-content"> |
| |
| <section class="desc markdown"> |
| <p>a library. testing string escaping: <code>var s = 'a string'</code> <cool></p> |
| </section> |
| |
| <section class="summary offset-anchor" id="constants"> |
| <h2>Constants</h2> |
| |
| <dl class="properties"> |
| <dt id="COLOR" class="constant"> |
| <span class="name "><a href="ex/COLOR.html">COLOR</a></span> |
| <span class="signature">→ String</span> |
| </dt> |
| <dd> |
| <p></p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>'red'</code></span> |
| </div> |
| </dd> |
| <dt id="COLOR_GREEN" class="constant"> |
| <span class="name "><a href="ex/COLOR_GREEN.html">COLOR_GREEN</a></span> |
| <span class="signature">→ String</span> |
| </dt> |
| <dd> |
| <p></p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>'green'</code></span> |
| </div> |
| </dd> |
| <dt id="COLOR_ORANGE" class="constant"> |
| <span class="name "><a href="ex/COLOR_ORANGE.html">COLOR_ORANGE</a></span> |
| <span class="signature">→ String</span> |
| </dt> |
| <dd> |
| <p></p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>'orange'</code></span> |
| </div> |
| </dd> |
| <dt id="COMPLEX_COLOR" class="constant"> |
| <span class="name "><a href="ex/COMPLEX_COLOR.html">COMPLEX_COLOR</a></span> |
| <span class="signature">→ String</span> |
| </dt> |
| <dd> |
| <p></p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>'red' + '-' + 'green' + '-' + 'blue'</code></span> |
| </div> |
| </dd> |
| <dt id="deprecated" class="constant"> |
| <span class="name "><a href="ex/deprecated.html">deprecated</a></span> |
| <span class="signature">→ <a href="ex/Deprecated-class.html">Deprecated</a></span> |
| </dt> |
| <dd> |
| <p>Marks a feature as <a href="ex/Deprecated-class.html">Deprecated</a> until the next release.</p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>const <a href="ex/Deprecated-class.html">Deprecated</a>("next release")</code></span> |
| </div> |
| </dd> |
| <dt id="incorrectDocReference" class="constant"> |
| <span class="name "><a href="ex/incorrectDocReference.html">incorrectDocReference</a></span> |
| <span class="signature">→ dynamic</span> |
| </dt> |
| <dd> |
| <p>This is the same name as a top-level const from the fake lib.</p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>'same name as const from fake'</code></span> |
| </div> |
| </dd> |
| <dt id="incorrectDocReferenceFromEx" class="constant"> |
| <span class="name "><a href="ex/incorrectDocReferenceFromEx.html">incorrectDocReferenceFromEx</a></span> |
| <span class="signature">→ dynamic</span> |
| </dt> |
| <dd> |
| <p>This should <code>not work</code>.</p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>'doh'</code></span> |
| </div> |
| </dd> |
| <dt id="MY_CAT" class="constant"> |
| <span class="name "><a href="ex/MY_CAT.html">MY_CAT</a></span> |
| <span class="signature">→ <a href="ex/ConstantCat-class.html">ConstantCat</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| <div> |
| <span class="features">const</span> |
| <span class="signature"><code>const <a href="ex/ConstantCat-class.html">ConstantCat</a>('tabby')</code></span> |
| </div> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor" id="typedefs"> |
| <h2>Typedefs</h2> |
| |
| <dl class="callables"> |
| <dt id="processMessage" class="callable"> |
| <span class="name "><a href="ex/processMessage.html">processMessage</a></span><span class="signature">(<wbr><span class="parameter" id="processMessage-param-msg"><span class="type-annotation">String</span> <span class="parameter-name">msg</span></span>) |
| <span class="returntype parameter">→ String</span> |
| </span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor" id="properties"> |
| <h2>Properties</h2> |
| |
| <dl class="properties"> |
| <dt id="number" class="property"> |
| <span class="name"><a href="ex/number.html">number</a></span> |
| <span class="signature">→ double</span> |
| </dt> |
| <dd> |
| <p></p> |
| <div class="features"> |
| read / write |
| </div> |
| </dd> |
| <dt id="y" class="property"> |
| <span class="name"><a href="ex/y.html">y</a></span> |
| <span class="signature">→ dynamic</span> |
| </dt> |
| <dd> |
| <p></p> |
| <div class="features"> |
| read-only |
| </div> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor" id="functions"> |
| <h2>Functions</h2> |
| |
| <dl class="callables"> |
| <dt id="function1" class="callable"> |
| <span class="name "><a href="ex/function1.html">function1</a></span><span class="signature">(<wbr><span class="parameter" id="function1-param-s"><span class="type-annotation">String</span> <span class="parameter-name">s</span></span>, <span class="parameter" id="function1-param-b"><span class="type-annotation">bool</span> <span class="parameter-name">b</span></span>, <span class="parameter" id="function1-param-lastParam"><span class="parameter-name">lastParam</span></span>) |
| <span class="returntype parameter">→ int</span> |
| </span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor" id="enums"> |
| <h2>Enums</h2> |
| |
| <dl> |
| <dt id="Animal"> |
| <a href="ex/Animal-class.html">Animal</a> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor" id="classes"> |
| <h2>Classes</h2> |
| |
| <dl> |
| <dt id="Apple"> |
| <span class="name "><a href="ex/Apple-class.html">Apple</a></span> |
| </dt> |
| <dd> |
| <p>Sample class <code>String</code></p> |
| </dd> |
| <dt id="B"> |
| <span class="name "><a href="ex/B-class.html">B</a></span> |
| </dt> |
| <dd> |
| <p>Extends class <a href="ex/Apple-class.html">Apple</a>, use <a href="ex/Apple/Apple.html">new Apple</a> or <a href="ex/Apple/Apple.fromString.html">new Apple.fromString</a></p> |
| </dd> |
| <dt id="Cat"> |
| <span class="name "><a href="ex/Cat-class.html">Cat</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="CatString"> |
| <span class="name "><a href="ex/CatString-class.html">CatString</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="ConstantCat"> |
| <span class="name "><a href="ex/ConstantCat-class.html">ConstantCat</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="DateTime"> |
| <span class="name "><a href="ex/DateTime-class.html">DateTime</a></span> |
| </dt> |
| <dd> |
| <p>An instant in time, such as July 20, 1969, 8:18pm GMT.<a href="ex/DateTime-class.html">…</a> |
| </p> |
| </dd> |
| <dt id="Deprecated"> |
| <span class="name "><a href="ex/Deprecated-class.html">Deprecated</a></span> |
| </dt> |
| <dd> |
| <p>The annotation <code>@Deprecated('expires when')</code> marks a feature as deprecated.<a href="ex/Deprecated-class.html">…</a> |
| </p> |
| </dd> |
| <dt id="Dog"> |
| <span class="name "><a href="ex/Dog-class.html">Dog</a></span> |
| </dt> |
| <dd> |
| <p>implements <a href="ex/Cat-class.html">Cat</a>, <a href="ex/E-class.html">E</a></p> |
| </dd> |
| <dt id="E"> |
| <span class="name "><a href="ex/E-class.html">E</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="F"> |
| <span class="name "><a href="ex/F-class.html">F</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="ForAnnotation"> |
| <span class="name "><a href="ex/ForAnnotation-class.html">ForAnnotation</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="HasAnnotation"> |
| <span class="name "><a href="ex/HasAnnotation-class.html">HasAnnotation</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="Helper"> |
| <span class="name "><a href="ex/Helper-class.html">Helper</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="Klass"> |
| <span class="name "><a href="ex/Klass-class.html">Klass</a></span> |
| </dt> |
| <dd> |
| <p>A class</p> |
| </dd> |
| <dt id="PublicClassExtendsPrivateClass"> |
| <span class="name "><a href="ex/PublicClassExtendsPrivateClass-class.html">PublicClassExtendsPrivateClass</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="PublicClassImplementsPrivateInterface"> |
| <span class="name "><a href="ex/PublicClassImplementsPrivateInterface-class.html">PublicClassImplementsPrivateInterface</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="ShapeType"> |
| <span class="name "><a href="ex/ShapeType-class.html">ShapeType</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="SpecializedDuration"> |
| <span class="name "><a href="ex/SpecializedDuration-class.html">SpecializedDuration</a></span> |
| </dt> |
| <dd> |
| <p>For testing a class that extends a class |
| that has some operators</p> |
| </dd> |
| </dl> |
| </section> |
| |
| <section class="summary offset-anchor" id="exceptions"> |
| <h2>Exceptions / Errors</h2> |
| |
| <dl> |
| <dt id="MyError"> |
| <span class="name "><a href="ex/MyError-class.html">MyError</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="MyErrorImplements"> |
| <span class="name "><a href="ex/MyErrorImplements-class.html">MyErrorImplements</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="MyException"> |
| <span class="name "><a href="ex/MyException-class.html">MyException</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| <dt id="MyExceptionImplements"> |
| <span class="name "><a href="ex/MyExceptionImplements-class.html">MyExceptionImplements</a></span> |
| </dt> |
| <dd> |
| <p></p> |
| </dd> |
| </dl> |
| </section> |
| |
| </div> <!-- /.main-content --> |
| |
| <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right"> |
| <h5>ex</h5> |
| <ol> |
| <li class="section-title"><a href="ex/ex-library.html#constants">Constants</a></li> |
| <li><a href="ex/COLOR.html">COLOR</a></li> |
| <li><a href="ex/COLOR_GREEN.html">COLOR_GREEN</a></li> |
| <li><a href="ex/COLOR_ORANGE.html">COLOR_ORANGE</a></li> |
| <li><a href="ex/COMPLEX_COLOR.html">COMPLEX_COLOR</a></li> |
| <li><a href="ex/deprecated.html">deprecated</a></li> |
| <li><a href="ex/incorrectDocReference.html">incorrectDocReference</a></li> |
| <li><a href="ex/incorrectDocReferenceFromEx.html">incorrectDocReferenceFromEx</a></li> |
| <li><a href="ex/MY_CAT.html">MY_CAT</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#typedefs">Typedefs</a></li> |
| <li><a href="ex/processMessage.html">processMessage</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#properties">Properties</a></li> |
| <li><a href="ex/number.html">number</a></li> |
| <li><a href="ex/y.html">y</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#functions">Functions</a></li> |
| <li><a href="ex/function1.html">function1</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#enums">Enums</a></li> |
| <li><a href="ex/Animal-class.html">Animal</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#classes">Classes</a></li> |
| <li><a href="ex/Apple-class.html">Apple</a></li> |
| <li><a href="ex/B-class.html">B</a></li> |
| <li><a href="ex/Cat-class.html">Cat</a></li> |
| <li><a href="ex/CatString-class.html">CatString</a></li> |
| <li><a href="ex/ConstantCat-class.html">ConstantCat</a></li> |
| <li><a href="ex/DateTime-class.html">DateTime</a></li> |
| <li><a href="ex/Deprecated-class.html">Deprecated</a></li> |
| <li><a href="ex/Dog-class.html">Dog</a></li> |
| <li><a href="ex/E-class.html">E</a></li> |
| <li><a href="ex/F-class.html">F</a></li> |
| <li><a href="ex/ForAnnotation-class.html">ForAnnotation</a></li> |
| <li><a href="ex/HasAnnotation-class.html">HasAnnotation</a></li> |
| <li><a href="ex/Helper-class.html">Helper</a></li> |
| <li><a href="ex/Klass-class.html">Klass</a></li> |
| <li><a href="ex/PublicClassExtendsPrivateClass-class.html">PublicClassExtendsPrivateClass</a></li> |
| <li><a href="ex/PublicClassImplementsPrivateInterface-class.html">PublicClassImplementsPrivateInterface</a></li> |
| <li><a href="ex/ShapeType-class.html">ShapeType</a></li> |
| <li><a href="ex/SpecializedDuration-class.html">SpecializedDuration</a></li> |
| |
| <li class="section-title"><a href="ex/ex-library.html#exceptions">Exceptions</a></li> |
| <li><a href="ex/MyError-class.html">MyError</a></li> |
| <li><a href="ex/MyErrorImplements-class.html">MyErrorImplements</a></li> |
| <li><a href="ex/MyException-class.html">MyException</a></li> |
| <li><a href="ex/MyExceptionImplements-class.html">MyExceptionImplements</a></li> |
| </ol> |
| </div><!--/sidebar-offcanvas-right--> |
| |
| </div> <!-- row --> |
| </div> <!-- container --> |
| |
| <footer> |
| <div class="container-fluid"> |
| <div class="container"> |
| <p class="text-center"> |
| <span class="no-break"> |
| test_package 0.0.1 |
| </span> |
| • |
| <span class="no-break"> |
| <a href="https://www.dartlang.org"> |
| <img src="static-assets/favicon.png" alt="Dart" title="Dart" width="16" height="16"> |
| </a> |
| </span> |
| • |
| <span class="copyright no-break"> |
| <a href="http://creativecommons.org/licenses/by-sa/4.0/">cc license</a> |
| </span> |
| </p> |
| </div> |
| </div> |
| </footer> |
| |
| <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> |
| <script src="static-assets/typeahead.bundle.min.js"></script> |
| <script src="static-assets/prettify.js"></script> |
| <script src="static-assets/script.js"></script> |
| <!-- Do not remove placeholder --> |
| <!-- Footer Placeholder --> |
| |
| </body> |
| |
| </html> |