Showing content from https://api.dart.dev/stable/3.8.1/dart-core/Invocation-class.html below:
Invocation class - dart:core library
Representation of the invocation of a member on an object.
This is the type of objects passed to Object.noSuchMethod when an object doesn't support the member invocation that was attempted on it.
Constructors
-
Invocation.new()
-
-
Invocation.genericMethod(Symbol memberName, Iterable<Type>? typeArguments, Iterable<Object?>? positionalArguments, [Map<Symbol, Object?>? namedArguments])
-
Creates an invocation corresponding to a generic method invocation.
factory
-
Invocation.getter(Symbol name)
-
Creates an invocation corresponding to a getter invocation.
factory
-
Invocation.method(Symbol memberName, Iterable<Object?>? positionalArguments, [Map<Symbol, Object?>? namedArguments])
-
Creates an invocation corresponding to a method invocation.
factory
-
Invocation.setter(Symbol memberName, Object? argument)
-
Creates an invocation corresponding to a setter invocation.
factory
Properties
-
hashCode → int
-
The hash code for this object.
no setterinherited
-
isAccessor → bool
-
Whether the invocation was a getter or a setter call.
no setter
-
isGetter → bool
-
Whether the invocation was a getter call. If so, all three types of arguments lists are empty.
no setter
-
isMethod → bool
-
Whether the invocation was a method call.
no setter
-
isSetter → bool
-
Whether the invocation was a setter call.
no setter
-
memberName → Symbol
-
The name of the invoked member.
no setter
-
namedArguments → Map<Symbol, dynamic>
-
An unmodifiable view of the named arguments of the call.
no setter
-
positionalArguments → List
-
An unmodifiable view of the positional arguments of the call.
no setter
-
runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
typeArguments → List<Type>
-
An unmodifiable view of the type arguments of the call.
no setter
Methods
-
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
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4