toMap method

  1. @override
Map<String, Object?> toMap()
override

model -> map

Implementation

@override
Map<String, Object?> toMap() {
  return {
    'height': this.height,
    'accuracy': this.accuracy,
    'paths': this.paths,
    'center': this.center.toMap(),
    'structId': this.structId,
    'label': this.label,
  };
}