getBD function
Phone Number JSON data for BD
Implementation
Map<String, Object?> getBD() {
return {
"generalDesc": {
"nationalNumberPattern":
"[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",
"possibleLength": [6, 7, 8, 9, 10]
},
"fixedLine": {
"nationalNumberPattern":
"(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}",
"exampleNumber": "27111234",
"possibleLength": [6, 7, 8, 9, 10],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern":
"(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",
"exampleNumber": "1812345678",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "80[03]\\d{7}",
"exampleNumber": "8001234567",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern":
"96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",
"exampleNumber": "9604123456",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"id": "BD",
"countryCode": 880,
"internationalPrefix": "00",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{2})(\\d{4,6})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["31[5-8]|[459]1"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3,7})",
"format": "\$1-\$2",
"leadingDigitsPattern": [
"3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"
],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{3,6})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["[13-9]|2[23]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d)(\\d{7,8})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["2"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{2})(\\d{4,6})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["31[5-8]|[459]1"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3,7})",
"format": "\$1-\$2",
"leadingDigitsPattern": [
"3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"
],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{3,6})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["[13-9]|2[23]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d)(\\d{7,8})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["2"],
"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]
}
};
}