toJson method

Map<String, dynamic> toJson()

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,
  };
}