getBT function
Phone Number JSON data for BT
Implementation
Map<String, Object?> getBT() {
return {
"generalDesc": {
"nationalNumberPattern": "[17]\\d{7}|[2-8]\\d{6}",
"possibleLength": [7, 8],
"possibleLengthLocalOnly": [6]
},
"fixedLine": {
"nationalNumberPattern":
"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",
"exampleNumber": "2345678",
"possibleLength": [7],
"possibleLengthLocalOnly": [6]
},
"mobile": {
"nationalNumberPattern": "(?:1[67]|77)\\d{6}",
"exampleNumber": "17123456",
"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": "BT",
"countryCode": 975,
"internationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{3})(\\d{3})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[2-7]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d)(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["[2-68]|7[246]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["1[67]|7"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d)(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["[2-68]|7[246]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["1[67]|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]
}
};
}