MapDrawing constructor

MapDrawing({
  1. int? id,
  2. required LineString path,
  3. required String pathType,
  4. String? author,
  5. DateTime? created,
  6. bool deleting = false,
})

Implementation

MapDrawing({
  super.id,
  required this.path,
  required this.pathType,
  this.author,
  super.created,
  super.deleting,
}) : super(type: dbType, location: path.nodes[path.nodes.length >> 1]);