toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'whiteboardID': this.whiteboardID,
    'horizontalRatio': this.horizontalRatio,
    'verticalRatio': this.verticalRatio,
    'isPPTAnimation': this.isPPTAnimation,
    'layout': {
      'top': this.layout.top.toInt(),
      'left': this.layout.left.toInt(),
      'right': this.layout.right.toInt(),
      'bottom': this.layout.bottom.toInt()
    },
    'zOrder': this.zOrder,
    'backgroundColor': this.backgroundColor
  };
}