BaseSessionFilter<T extends Object> class
abstract
Base filter for session based requests.
- Inheritance
-
- Object
- Jsonable<
T> - BaseFilter<
T> - BaseSessionFilter
- Implementers
Constructors
- BaseSessionFilter.new({String? languageCode, String? regionCode, String? sessionToken})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode → String?
-
Place details will be displayed with the preferred language if available.
finalinherited
- regionCode → String?
-
The Unicode country/region code (CLDR) of the location where the
request is coming from. This parameter is used to display the place details,
like region-specific place name, if available. The parameter can affect results
based on applicable law. For more information,
see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionToken → String?
-
A string which identifies an Autocomplete session for billing purposes.
Must be a URL and filename safe base64 string with at most 36 ASCII
characters in length. Otherwise an INVALID_ARGUMENT error is returned.
final
Methods
-
fromJsonList(
List? jsonList) → List< T> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → T? -
inherited
-
fromJsonString(
String? json) → T? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< T> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFieldsMask(
{String? parentKey}) → List< String> -
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited