Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:core
  3. Invocation class
Invocation
description

Invocation classabstract

Representation of the invocation of a member on an object.

This is the type of objects passed toObject.noSuchMethod whenan object doesn't support the member invocation that was attemptedon it.

Constructors

Invocation.new()
Invocation.genericMethod(SymbolmemberName,Iterable<Type>?typeArguments,Iterable<Object?>?positionalArguments, [Map<Symbol,Object?>?namedArguments])
Creates an invocation corresponding to a generic method invocation.
factory
Invocation.getter(Symbolname)
Creates an invocation corresponding to a getter invocation.
factory
Invocation.method(SymbolmemberName,Iterable<Object?>?positionalArguments, [Map<Symbol,Object?>?namedArguments])
Creates an invocation corresponding to a method invocation.
factory
Invocation.setter(SymbolmemberName,Object?argument)
Creates an invocation corresponding to a setter invocation.
factory

Properties

hashCodeint
The hash code for this object.
no setterinherited
isAccessorbool
Whether the invocation was a getter or a setter call.
no setter
isGetterbool
Whether the invocation was a getter call.If so, all three types of arguments lists are empty.
no setter
isMethodbool
Whether the invocation was a method call.
no setter
isSetterbool
Whether the invocation was a setter call.
no setter
memberNameSymbol
The name of the invoked member.
no setter
namedArgumentsMap<Symbol,dynamic>
An unmodifiable view of the named arguments of the call.
no setter
positionalArgumentsList
An unmodifiable view of the positional arguments of the call.
no setter
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
typeArgumentsList<Type>
An unmodifiable view of the type arguments of the call.
no setter

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited
  1. Dart
  2. dart:core
  3. Invocation class
dart:core library

[8]ページ先頭

©2009-2025 Movatter.jp