LocationBias class

The region to search. This location serves as a bias which means results around given location might be returned.

Documentation: https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/searchText#locationbias

Inheritance
Available extensions
Annotations
  • @JsonSerializable()
  • @CopyWith()

Constructors

LocationBias.new({Circle? circle, Rectangle? rectangle})
LocationBias.fromJson(Map<String, dynamic> json)
factory

Properties

circle Circle?
finalinherited
copyWith → _$LocationBiasCWProxy

Available on LocationBias, provided by the $LocationBiasCopyWith extension

Returns a callable class that can be used as follows: instanceOfLocationBias.copyWith(...).
no setter
copyWith → _$LocationMultiAreaCWProxy

Available on LocationMultiArea, provided by the $LocationMultiAreaCopyWith extension

Returns a callable class that can be used as follows: instanceOfLocationMultiArea.copyWith(...).
no setter
hashCode int
The hash code for this object.
no setterinherited
rectangle Rectangle?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJsonList(List? jsonList) List<LocationMultiArea>?
inherited
fromJsonMap(Map<String, dynamic>? json) LocationBias?
override
fromJsonString(String? json) LocationMultiArea?
inherited
fromJsonStringList(String? jsonStringList) List<LocationMultiArea>?
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>
override
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