Invokable mixin
Properties
- definition ↔ SourceSpan?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getList(
Object obj) → List? -
getMap(
Object obj) → Map? -
getMethod(
dynamic method) → Function? -
getProperty(
dynamic prop) → dynamic -
getString(
Object obj) → String? -
getters(
) → Map< String, Function> - mark these functions as protected as we need the implementations, but discourage direct usages. Reasons:
-
hasGettableProperty(
dynamic prop) → bool -
hasMethod(
dynamic method) → bool -
hasSettableProperty(
dynamic prop) → bool -
methods(
) → Map< String, Function> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProperty(
dynamic prop, dynamic val) → void - update a property. If this is a HasController (i.e. Widget), notify it of changes
-
setters(
) → Map< String, Function> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getGettableProperties(
Invokable obj) → List< String> -
getMethods(
Invokable obj) → Map< String, Function> -
getSettableProperties(
Invokable obj) → List< String>