LayerModel constructor

const LayerModel({
  1. required String id,
  2. required String type,
  3. required double x,
  4. required double y,
})

Implementation

const LayerModel({
  required this.id,
  required this.type,
  required this.x,
  required this.y,
});