LineModel.fromMap constructor
Returns a LineModel from the given map
.
Implementation
factory LineModel.fromMap(Map<String, dynamic> map) {
return LineModel(
id: map['id'],
coordinates: map['coordinates'],
altitudeMode: map['altitudeMode'],
drawOrder: map['drawOrder'],
);
}