of static method

Implementation

static PlacesAutocompleteState? of(BuildContext context) =>
    context.findAncestorStateOfType<PlacesAutocompleteState>();