a library. testing string escaping: var s = 'a string'

Constants

COLOR → String

'red'
COLOR_GREEN → String

'green'
COLOR_ORANGE → String

'orange'
COMPLEX_COLOR → String

'red' + '-' + 'green' + '-' + 'blue'
deprecated Deprecated

Marks a feature as Deprecated until the next release.

const Deprecated("next release")
incorrectDocReference → dynamic

This is the same name as a top-level const from the fake lib.

'same name as const from fake'
incorrectDocReferenceFromEx → dynamic

This should not work.

'doh'
MY_CAT ConstantCat

const ConstantCat('tabby')
PRETTY_COLORS → List<String>

const <String> [COLOR_GREEN, COLOR_ORANGE, 'blue']

Typedefs

ParameterizedTypedef(T msg, int foo) → String

processMessage(String msg) → String

Properties

deprecatedField → int

read / write
deprecatedGetter → int

read-only
deprecatedSetter → int

write-only
number → double

read / write
y → dynamic

read-only

Functions

function1(String s, bool b, lastParam) → int

genericFunction<T>(T arg) → T

Enums

Animal

Classes

Apple

Sample class String

B

Extends class Apple, use new Apple or new Apple.fromString

Cat

CatString

ConstantCat

Cool

This class is cool!

Deprecated

The annotation @Deprecated('expires when') marks a feature as deprecated.

Dog

implements Cat, E

E

F

ForAnnotation

HasAnnotation

Helper

Even unresolved references in the same library should be resolved Apple B

Klass

A class

PublicClassExtendsPrivateClass

PublicClassImplementsPrivateInterface

ShapeType

Foo bar.

SpecializedDuration

For testing a class that extends a class that has some operators

WithGeneric

WithGenericSub

Exceptions / Errors

MyError

MyErrorImplements

MyException

MyExceptionImplements