getHU function

Map<String, Object?> getHU()

Phone Number JSON data for HU

Implementation

Map<String, Object?> getHU() {
  return {
    "generalDesc": {
      "nationalNumberPattern": "[235-7]\\d{8}|[1-9]\\d{7}",
      "possibleLength": [8, 9],
      "possibleLengthLocalOnly": [6, 7]
    },
    "fixedLine": {
      "nationalNumberPattern":
          "(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",
      "exampleNumber": "12345678",
      "possibleLength": [8],
      "possibleLengthLocalOnly": [6, 7]
    },
    "mobile": {
      "nationalNumberPattern": "(?:[257]0|3[01])\\d{7}",
      "exampleNumber": "201234567",
      "possibleLength": [9],
      "possibleLengthLocalOnly": [-1]
    },
    "tollFree": {
      "nationalNumberPattern": "(?:[48]0\\d|680[29])\\d{5}",
      "exampleNumber": "80123456",
      "possibleLength": [8, 9],
      "possibleLengthLocalOnly": [-1]
    },
    "premiumRate": {
      "nationalNumberPattern": "9[01]\\d{6}",
      "exampleNumber": "90123456",
      "possibleLength": [8],
      "possibleLengthLocalOnly": [-1]
    },
    "sharedCost": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "personalNumber": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "voip": {
      "nationalNumberPattern": "21\\d{7}",
      "exampleNumber": "211234567",
      "possibleLength": [9],
      "possibleLengthLocalOnly": [-1]
    },
    "id": "HU",
    "countryCode": 36,
    "internationalPrefix": "00",
    "nationalPrefix": "06",
    "nationalPrefixForParsing": "06",
    "sameMobileAndFixedLinePattern": false,
    "numberFormat": [
      {
        "pattern": "(\\d)(\\d{3})(\\d{4})",
        "format": "\$1 \$2 \$3",
        "leadingDigitsPattern": ["1"],
        "nationalPrefixFormattingRule": "(06 \$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{3})(\\d{3})",
        "format": "\$1 \$2 \$3",
        "leadingDigitsPattern": [
          "[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"
        ],
        "nationalPrefixFormattingRule": "(06 \$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{3})(\\d{3,4})",
        "format": "\$1 \$2 \$3",
        "leadingDigitsPattern": ["[2-9]"],
        "nationalPrefixFormattingRule": "06 \$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "intlNumberFormat": [
      {
        "pattern": "(\\d)(\\d{3})(\\d{4})",
        "format": "\$1 \$2 \$3",
        "leadingDigitsPattern": ["1"],
        "nationalPrefixFormattingRule": "(06 \$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{3})(\\d{3})",
        "format": "\$1 \$2 \$3",
        "leadingDigitsPattern": [
          "[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"
        ],
        "nationalPrefixFormattingRule": "(06 \$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{3})(\\d{3,4})",
        "format": "\$1 \$2 \$3",
        "leadingDigitsPattern": ["[2-9]"],
        "nationalPrefixFormattingRule": "06 \$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "pager": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "mainCountryForCode": false,
    "noInternationalDialling": {
      "nationalNumberPattern": "(?:[48]0\\d|680[29])\\d{5}",
      "possibleLength": [8, 9],
      "possibleLengthLocalOnly": [-1]
    },
    "uan": {
      "nationalNumberPattern": "38\\d{7}",
      "exampleNumber": "381234567",
      "possibleLength": [9],
      "possibleLengthLocalOnly": [-1]
    },
    "emergency": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "voicemail": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "shortCode": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "standardRate": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "carrierSpecific": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "mobileNumberPortableRegion": true,
    "smsServices": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    }
  };
}