NetworkUtil class

Constructors

NetworkUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decodeEncodedPolyline(String encoded) List<PointLatLng>
decode the google encoded string using Encoded Polyline Algorithm Format for more info about the algorithm check https://developers.google.com/maps/documentation/utilities/polylinealgorithm
getRouteBetweenCoordinates(String googleApiKey, PointLatLng origin, PointLatLng destination, TravelMode travelMode, List<PolylineWayPoint> wayPoints, bool avoidHighways, bool avoidTolls, bool avoidFerries, bool optimizeWaypoints) Future<PolylineResult>
Get the encoded string from google directions api
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

statusOk → const String