toString method Null safety

  1. @override
String toString()
override

Returns the canonical Unicode BCP47 Locale Identifier for this locale.

Implementation

@override
String toString() => toLanguageTag();