getSpec method

String getSpec()

Return the whole locale specifier as a string.

Implementation

String getSpec() {
  if (spec == null || spec!.isEmpty) {
    _genSpec();
  }
  return spec!;
}