Spec-Zone.ru › Dart 2

dart:io

runWithIOOverrides<R> static method

R runWithIOOverrides<R>(
  1. R body( ),
  2. IOOverrides overrides
)

Runs body in a fresh Zone using the overrides found in overrides.

Note that overrides should be an instance of a class that extends IOOverrides.

Implementation

static R runWithIOOverrides<R>(R body(), IOOverrides overrides) {
  return _asyncRunZoned<R>(body, zoneValues: {_ioOverridesToken: overrides});
}

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

Spec-Zone.ru

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