Spec-Zone.ru › Dart 2

dart:developer

статический метод instantSync

void instantSync(
  1. String name,
  2. {Map? arguments}
)

Создаёт мгновенное событие.

Реализация

static void instantSync(String name, {Map? arguments}) {
  if (!_hasTimeline) return;
  // TODO: When NNBD is complete, delete the following line.
  ArgumentError.checkNotNull(name, 'name');
  if (!_isDartStreamEnabled()) {
    // Stream is disabled.
    return;
  }
  // Instant events don't have an id because they don't need to be paired with
  // other events.
  int taskId = 0;
  _reportTaskEvent(taskId, _instant, name, _argumentsAsJson(arguments));
}

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

Spec-Zone.ru

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