a library. testing string escaping: var s = 'a string'
Classes
- Apple
-
Sample class
String
- aThingToDo
-
A custom annotation.
- 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
- E
- F
- ForAnnotation
- HasAnnotation
- Helper
-
Even unresolved references in the same library should be resolved Apple ex.B
- Klass
-
A class
- PublicClassExtendsPrivateClass
- PublicClassImplementsPrivateInterface
- ShapeType
-
Foo bar.
- SpecializedDuration
-
For testing a class that extends a class that has some operators
- WithGeneric
- WithGenericSub
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']
Properties
- deprecatedField ↔ int
-
read / write
- deprecatedGetter → int
-
read-only
- deprecatedSetter ← int value
-
write-only
- number ↔ double
-
read / write
- y → dynamic
-
read-only
Functions
-
function1(
String s, bool b, lastParam) → int -
genericFunction<T>(
T arg) → T
Enums
Typedefs
-
ParameterizedTypedef(
T msg, int foo) → String -
processMessage(
String msg) → String