toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'show': show,
'id': id,
'left': left,
'top': top,
'right': right,
'bottom': bottom,
'width': width,
'height': height,
'containLabel': containLabel,
'backgroundColor': backgroundColor,
'borderColor': borderColor,
'borderWidth': borderWidth,
};
}