agent-workspace / flutter /packages /flutter /lib /src /foundation /_capabilities_io.dart
luom2645's picture
Add files using upload-large-folder tool
743d1ae verified
Raw History Blame Contribute Delete
559 Bytes
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The dart:io implementation of [isCanvasKit].
///
/// This bool shouldn't be used outside of web.
bool get isCanvasKit {
throw UnimplementedError('isCanvasKit is not implemented for dart:io.');
}
/// The dart:io implementation of [isSkwasm].
///
/// This bool shouldn't be used outside of web.
bool get isSkwasm {
throw UnimplementedError('isSkwasm is not implemented for dart:io.');
}