Intl constructor

Intl(
  1. [String? aLocale]
)

Constructor optionally aLocale for specifics of the language locale to be used, otherwise, we will attempt to infer it (acceptable if Dart is running on the client, we can infer from the browser/client preferences).

Implementation

Intl([String? aLocale]) : _locale = aLocale ?? getCurrentLocale();