getCU function

Map<String, Object?> getCU()

Phone Number JSON data for CU

Implementation

Map<String, Object?> getCU() {
  return {
    "generalDesc": {
      "nationalNumberPattern":
          "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",
      "possibleLength": [6, 7, 8, 10],
      "possibleLengthLocalOnly": [4, 5]
    },
    "fixedLine": {
      "nationalNumberPattern":
          "(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}",
      "exampleNumber": "71234567",
      "possibleLength": [6, 7, 8, 10],
      "possibleLengthLocalOnly": [4, 5]
    },
    "mobile": {
      "nationalNumberPattern": "(?:5\\d|6[2-4])\\d{6}",
      "exampleNumber": "51234567",
      "possibleLength": [8],
      "possibleLengthLocalOnly": [-1]
    },
    "tollFree": {
      "nationalNumberPattern": "800\\d{7}",
      "exampleNumber": "8001234567",
      "possibleLength": [10],
      "possibleLengthLocalOnly": [-1]
    },
    "premiumRate": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "sharedCost": {
      "nationalNumberPattern": "807\\d{7}",
      "exampleNumber": "8071234567",
      "possibleLength": [10],
      "possibleLengthLocalOnly": [-1]
    },
    "personalNumber": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "voip": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "id": "CU",
    "countryCode": 53,
    "internationalPrefix": "119",
    "nationalPrefix": "0",
    "nationalPrefixForParsing": "0",
    "sameMobileAndFixedLinePattern": false,
    "numberFormat": [
      {
        "pattern": "(\\d{2})(\\d{4,6})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["2[1-4]|[34]"],
        "nationalPrefixFormattingRule": "(0\$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d)(\\d{6,7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["7"],
        "nationalPrefixFormattingRule": "(0\$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d)(\\d{7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[56]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{3})(\\d{7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["8"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "intlNumberFormat": [
      {
        "pattern": "(\\d{2})(\\d{4,6})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["2[1-4]|[34]"],
        "nationalPrefixFormattingRule": "(0\$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d)(\\d{6,7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["7"],
        "nationalPrefixFormattingRule": "(0\$1)",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d)(\\d{7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[56]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{3})(\\d{7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["8"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "pager": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "mainCountryForCode": false,
    "noInternationalDialling": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "uan": {
      "possibleLength": [-1],
      "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": false,
    "smsServices": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    }
  };
}