missingComponentTypes property

List<String>? missingComponentTypes
getter/setter pair

The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred.

An example might be ['street_number', 'route'] for an input like "Boulder, Colorado, 80301, USA". The list of possible types can be found here. Note: you might see a missing component type when you think you've already supplied the missing component. For example, this can happen when the input address contains the building name, but not the premise number. In the address "渋谷区渋谷3丁目 Shibuya Stream", the building name "Shibuya Stream" has the component type premise, but the premise number is missing, so missing_component_types will contain premise.

Implementation

core.List<core.String>? missingComponentTypes;