blob: fbf779344fdf81bccf23029ae7f30695d7134404 [file] [log] [blame]
// 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.
void exit(int exitCode) {
print('Pretending the app exiting.');
throw Exception('Exiting with exit code $exitCode');
// ignore: avoid_classes_with_only_static_members
class Platform {
static String get operatingSystem => 'Android';
static bool get isAndroid => true;
static bool get isIOS => false;
static String get resolvedExecutable => '/path/to/App';
static String get pathSeparator => '/';