phone_number_metadata library Null safety

Classes

PhoneMetadata
phone metadata [...]
PhoneMetadataFormat
PhoneMetadataLengths
PhoneMetadataPatterns
Extra metadata patterns for phone numbers

Constants

countryCodeToIsoCode → const Map<String, List<String>>
{'247' : ['AC'], '376' : ['AD'], '971' : ['AE'], '93' : ['AF'], '1' : ['US', 'AG', 'AI', 'AS', &…
metadataByIsoCode → const Map<String, PhoneMetadata>
{'AC' : PhoneMetadata(countryCode: r'247', isoCode: r'AC', leadingDigits: null, internationalPrefix: r'00', nationalPrefix: null, isMainCountryForDialCode: false), '…
metadataFormatsByIsoCode → const Map<String, PhoneMetadataFormats>
<String, PhoneMetadataFormats>{'AC' : [], 'AD' : [PhoneMetadataFormat(pattern: r'(\d{3})(\d{3})', nationalPrefixFormattingRule: null, leadingDigits: ['[135-9]'], …
metadataLenghtsByIsoCode → const Map<String, PhoneMetadataLengths>
{'AC' : PhoneMetadataLengths(general: [], mobile: [5], fixedLine: [5]), 'AD' : PhoneMetadataLengths(general: [], mobile: [6, 9], fixedLine: [6]), 'AE' : PhoneMetadataLengths(ge…
metadataPatternsByIsoCode → const Map<String, PhoneMetadataPatterns>
{'AC' : PhoneMetadataPatterns(nationalPrefixForParsing: null, nationalPrefixTransformRule: null, general: r'(?:[01589]\d|[46])\d{4}', mobile: r'4\d{4}', fixedLine: r'6[2-46…

Typedefs

PhoneMetadataFormats = List<PhoneMetadataFormat>