LineModel class

Class that defines the line entity, which contains its properties and methods.

Constructors

LineModel({required String id, required List<Map<String, double>> coordinates, double drawOrder = 0, String altitudeMode = 'relativeToGround'})
LineModel.fromMap(Map<String, dynamic> map)
Returns a LineModel from the given map.
factory

Properties

altitudeMode String
Property that defines the line altitude mode.
getter/setter pair
coordinates List<Map<String, double>>
Property that defines the line coordinates list.
getter/setter pair
drawOrder double
Property that defines the line draw order.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
Property that defines the line id.
getter/setter pair
linearCoordinates String
Property that defines the line linear coordinates according to its current coordinates.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
Property that defines the line tag according to its current properties.
no setter

Methods

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

Operators

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