Spec-Zone.ru › Dart 2

dart:core

Invocation.method constructor

Invocation.method(
  1. Symbol memberName,
  2. Iterable<Object?>? positionalArguments,
  3. [Map<Symbol, Object?>? namedArguments]
)

Creates an invocation corresponding to a method invocation.

The method invocation has no type arguments. If the named arguments are omitted, they default to no named arguments.

Implementation

@pragma("wasm:entry-point")
factory Invocation.method(
        Symbol memberName, Iterable<Object?>? positionalArguments,
        [Map<Symbol, Object?>? namedArguments]) =>
    _Invocation.method(memberName, null, positionalArguments, namedArguments);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-core/Invocation/Invocation.method.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API