getTL function
Phone Number JSON data for TL
Implementation
Map<String, Object?> getTL() {
return {
"generalDesc": {
"nationalNumberPattern": "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",
"possibleLength": [7, 8]
},
"fixedLine": {
"nationalNumberPattern": "(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",
"exampleNumber": "2112345",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern": "7[2-8]\\d{6}",
"exampleNumber": "77212345",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "80\\d{5}",
"exampleNumber": "8012345",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern": "90\\d{5}",
"exampleNumber": "9012345",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"nationalNumberPattern": "70\\d{5}",
"exampleNumber": "7012345",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "TL",
"countryCode": 670,
"internationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[2-489]|70"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["7"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[2-489]|70"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["7"],
"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]
}
};
}