toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  final StringBuffer out = StringBuffer(languageCode);
  if (scriptCode != null)
    out.write('_$scriptCode');
  if (_countryCode != null)
    out.write('_$countryCode');
  return out.toString();
}