Locale constructor Null safety

const Locale(
  1. String languageCode,
  2. [String? countryCode]
)

Implementation

const factory Locale(
  String languageCode, [
  String? countryCode,
]) = _Locale;