WebSearchLocation class

Approximate location parameters for web search.

Annotations
  • @immutable

Constructors

WebSearchLocation({String? country, String? region, String? city, String? timezone})
Creates a WebSearchLocation.
const
WebSearchLocation.fromJson(Map<String, dynamic> json)
Creates a WebSearchLocation from JSON.
factory

Properties

city String?
Free text city name (e.g. San Francisco).
final
country String?
The two-letter ISO country code (e.g. US).
final
hashCode int
The hash code for this object.
no setteroverride
region String?
Free text region or state (e.g. California).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timezone String?
The IANA timezone (e.g. America/Los_Angeles).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override