OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 import 'package:async/async.dart'; |
| 6 |
| 7 import '../environment.dart'; |
| 8 |
| 9 /// The default environment for platform plugins. |
| 10 class PluginEnvironment implements Environment { |
| 11 final supportsDebugging = false; |
| 12 |
| 13 const PluginEnvironment(); |
| 14 |
| 15 Uri get observatoryUrl => throw new UnsupportedError( |
| 16 "PluginEnvironment.observatoryUrl is not supported."); |
| 17 |
| 18 Uri get remoteDebuggerUrl => throw new UnsupportedError( |
| 19 "PluginEnvironment.remoteDebuggerUrl is not supported."); |
| 20 |
| 21 CancelableOperation displayPause() => |
| 22 throw new UnsupportedError( |
| 23 "PluginEnvironment.displayPause is not supported."); |
| 24 } |
OLD | NEW |