diff --git a/tutorials/international/index.md b/tutorials/international/index.md index 92107c5..74169f8 100644 --- a/tutorials/international/index.md +++ b/tutorials/international/index.md @@ -186,7 +186,7 @@ class DemoLocalizations { static Future load(Locale locale) { final String name = locale.countryCode.isEmpty ? locale.languageCode : locale.toString(); final String localeName = Intl.canonicalizedLocale(name); - return initializeMessages(localeName).then((Null _) { + return initializeMessages(localeName).then((_) { Intl.defaultLocale = localeName; return new DemoLocalizations(); });