InterpretedExtension class
Constructors
-
InterpretedExtension({String? name, required RuntimeType? onType, bool isOnNullableType = false, required Map<String, Callable> members, Map<String, Callable>? setters, Map<String, Callable>? staticMethods, Map<String, Callable>? staticGetters, Map<String, Callable>? staticSetters, Map<String, Object?>? staticFields})
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasOnType
→ bool
-
Whether onType is resolved. An extension declared in a library that is
still loading, on a type not declared yet (an import cycle, or a barrel
that has not reached the export), is registered at once - importers copy
it with the module's exports - and gets its type from resolveOnType once
the outermost load returns (GitHub #9). Until then no lookup applies it.
no setter
-
isOnNullableType
→ bool
-
final
-
members
→ Map<String, Callable>
-
final
-
name
→ String?
-
final
-
onType
→ RuntimeType
-
The type the extension applies to; see hasOnType.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
setters
→ Map<String, Callable>
-
ghissues56: the instance setters, apart from members, so a getter and
a setter of one name (
int get w / set w(int v)) are both kept - in
one map the second replaced the first.
final
-
staticFields
→ Map<String, Object?>
-
final
-
staticGetters
→ Map<String, Callable>
-
final
-
staticMethods
→ Map<String, Callable>
-
final
-
staticSetters
→ Map<String, Callable>
-
final