getSL function
Phone Number JSON data for SL
Implementation
Map<String, Object?> getSL() {
return {
"generalDesc": {
"nationalNumberPattern": "(?:[237-9]\\d|66)\\d{6}",
"possibleLength": [8],
"possibleLengthLocalOnly": [6]
},
"fixedLine": {
"nationalNumberPattern": "22[2-4][2-9]\\d{4}",
"exampleNumber": "22221234",
"possibleLength": [8],
"possibleLengthLocalOnly": [6]
},
"mobile": {
"nationalNumberPattern": "(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}",
"exampleNumber": "25123456",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "SL",
"countryCode": 232,
"internationalPrefix": "00",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{2})(\\d{6})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[236-9]"],
"nationalPrefixFormattingRule": "(0\$1)",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{2})(\\d{6})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[236-9]"],
"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]
}
};
}