INNER CODE UNIT · Dart

S

sheikhhaziq/gyawun_music · lib/generated/l10n.dart:15

class S {
  S();

  static S? _current;

  static S get current {
    assert(
      _current != null,
      'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.',
    );
    return _current!;
  }

  static const AppLocalizationDelegate delegate = AppLocalizationDelegate();

  static Future<S> load(Locale locale) {
    final name = (locale.countryCode?.isEmpty ?? false)
        ? locale.languageCode

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…