Initializes a license plate restriction object.
Set license plate restriction with current vehicle’s last digit of license plate and country
code. This allows us to route around certain types of road restrictions which are based on
license plate number.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["The `GMSNavigationLicensePlateRestriction` class helps in routing by considering license plate restrictions."],["It stores the last digit of the license plate and the country code."],["Currently supports restrictions in Indonesia (ID) and Brazil (BZ)."],["Use `initWithLicensePlateLastDigit:countryCode:` to create an instance and set restriction details."],["Access `countryCode` and `lastDigit` properties to retrieve the stored values."]]],["The `GMSNavigationLicensePlateRestriction` class manages vehicle license plate information for routing around restrictions. It's initialized with the license plate's last digit (0-9) and country code (currently supporting \"ID\" for Indonesia and \"BZ\" for Brazil). The class stores and returns the user-set `countryCode` (defaults to empty string) and `lastDigit` (defaults to -1). Initialization returns `nil` if either value is invalid. It is designed to help determine license plate related restrictions.\n"]]