EvOptions class
Searchable EV options of a place search request.
Documentation: https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/searchText#evoptions
- Inheritance
- Available extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
-
EvOptions.new({double? minimumChargingRateKw, List<
EvConnectorType> ? connectorTypes}) -
EvOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
connectorTypes
→ List<
EvConnectorType> ? -
Filters by the type of EV charging connector available at a place. A place
that does not support any of the connector types will be filtered out.
Supported EV charging connector types include combined (AC and DC) chargers,
Tesla chargers, GB/T-compliant chargers (for EV fast charging in China),
and wall outlet chargers. For more information, see the reference documentation.
final
- copyWith → _$EvOptionsCWProxy
-
Available on EvOptions, provided by the $EvOptionsCopyWith extension
Returns a callable class that can be used as follows:instanceOfEvOptions.copyWith(...)
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- minimumChargingRateKw → double?
-
Filters places by minimum EV charging rate in kilowatts (kW). Any places
with charging a rate less than the minimum charging rate are filtered out.
For example, to find EV chargers with charging rates that are at least 10 kW,
you can set this parameter to "10."
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJsonList(
List? jsonList) → List< EvOptions> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → EvOptions? -
override
-
fromJsonString(
String? json) → EvOptions? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< EvOptions> ? -
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