stateCode property

  1. @Deprecated("Will be removed in v4.26.0. Use the administrative_rules property to determine the state code.")
String? stateCode
getter/setter pair

The state code after the border crossing. It represents the state / province code. It is a 1 to 3 upper-case characters string that follows the ISO 3166-2 standard, but without the preceding country code (e.g. for Texas, the state code will be TX). It will be null for countries without states or countries in which the states have very similar regulations (e.g. for Germany there will be no state borders).

Implementation

@Deprecated("Will be removed in v4.26.0. Use the administrative_rules property to determine the state code.")
String? stateCode;