MultiLineStringField class

MultiLineStringField The incoming data looks like this: [ { "type": "MultiLineString", "coordinates": [ [ -73.96943, 40.78519 , -73.96082, 40.78095 ], [ -73.96415, 40.79229 , -73.95544, 40.78854 ], [ -73.97162, 40.78205 , -73.96374, 40.77715 ], [ -73.97880, 40.77247 , -73.97036, 40.76811 ] ] }, { "type": "MultiLineString", "coordinates": [ [ -73.96943, 40.78519 , -73.96082, 40.78095 ], [ -73.96415, 40.79229 , -73.95544, 40.78854 ], [ -73.97162, 40.78205 , -73.96374, 40.77715 ], [ -73.97880, 40.77247 , -73.97036, 40.76811 ] ] } ]

Constructors

MultiLineStringField({required String type, required List<List<List<double>>> coordinates})
const
MultiLineStringField.fromJson(Map<String, dynamic> json)
Parse the incoming json and return a MultiLineStringField Usage, assuming that u parse a incoming json source, then the runtime type is a _InternalLinkedHashMap: MultiLineStringField.fromJson(Map<String, dynamic>.from(elem'location'))
factory

Properties

coordinates List<List<List<double>>>
The coordinates of the MultiLineStringField.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of the Field, to reconstruct the incoming json data.
final

Methods

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

Operators

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