toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = this.id;
json[r'slideId'] = this.slideId;
json[r'elementType'] = this.elementType;
json[r'content'] = this.content;
json[r'x'] = this.x;
json[r'y'] = this.y;
json[r'width'] = this.width;
json[r'height'] = this.height;
json[r'rotation'] = this.rotation;
json[r'zIndex'] = this.zIndex;
json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String();
return json;
}