blob: cf1babbd36e72bc1be0d1158b0ab6bf6a333d2c2 [file] [log] [blame] [edit]
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// Default implementation of findSystemLocale, which throws if called.
/// Platforms with the 'io' and 'html' libraries should use
/// `intl_standalone.dart` and `intl_browser.dart` respectively.
library;
/// Find the system locale, accessed via the appropriate system APIs, and
/// set it as the default for internationalization operations in
/// the [Intl.systemLocale] variable.
Future<String> findSystemLocale() {
throw UnsupportedError(
'intl.findSystemLocale is not implemented on this platform.');
}