# getLanguageTag abstract method

String getLanguageTag()

Returns the full language tag (`language[-country[-variant]]`).

This method constructs the complete locale identifier by combining the language, country (if present), and variant (if present) with hyphens as separators.

Example:

    final locale1 = Locale('en');
    print(locale1.getLanguageTag()); // Output: "en"

    final locale2 = Locale('en', 'US');
    print(locale2.getLanguageTag()); // Output: "en-US"

    final locale3 = Locale('fr', 'FR', 'Paris');
    print(locale3.getLanguageTag()); // Output: "fr-FR-Paris"

## Implementation

    String getLanguageTag();