InterpretedExtensionMethod class

Implemented types

Constructors

InterpretedExtensionMethod(SMethodDeclaration declaration, Environment closure, RuntimeType? onType, {List<String> extensionTypeParameters = const [], STypeAnnotation? onTypeAnnotation})

Properties

arity → int
no setteroverride
closure → Environment
final
declaration → SMethodDeclaration
final
extensionTypeParameters → List<String>
ghissues49: the extension's own type parameters (K, V of extension E<K, V> on Map<K, V>), bound on every call.
final
hashCode → int
The hash code for this object.
no setterinherited
isGetter → bool
no setteroverride
isOperator → bool
no setteroverride
isSetter → bool
no setteroverride
onType ↔ RuntimeType
getter/setter pair
onTypeAnnotation → STypeAnnotation?
The on type as written, which the receiver's type is matched against to bind extensionTypeParameters.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(InterpreterVisitor visitor, List<Object?> positionalArguments, [Map<String, Object?> namedArguments = const {}, List<RuntimeType>? typeArguments]) → Object?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited