IndexedInvocation class final
An invocation in an indexed file, such as locator<A>(),
context.nav.home.details(id: 1) or HomeScreen().
Constructors
Properties
- awaited → bool
-
Whether the invocation is the operand of an
await.final - enclosingDeclaration → String?
-
The name of the top-level declaration the invocation is in, or
nulloutside any.final - enclosingMember → String?
-
The name of the method, getter, setter or operator of
enclosingDeclaration that the invocation is in, such as
build, ornulloutside any: in a top-level function or variable, in a constructor, or in the initializer of a field.final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the invoked function, method or class.
final
-
namedArguments
→ List<
String> -
The names of the named arguments.
final
- offset → int
-
The offset of the invocation in the file.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → String?
-
The expression before the name, as written, such as
context.nav.homeincontext.nav.home.details();nullfor a plain call.final -
typeArguments
→ List<
String> -
The type arguments, as written, such as
['AnalyticsService'].final
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