toMap method
Implementation
@override
Map<String, dynamic> toMap() {
return {
'type': 'actionButton',
'fontSize': fontSize,
'fontColor': fontColor,
'backgroundColor': backgroundColor,
'x': x,
'y': y,
'width': width,
'height': height,
'clickType': clickType.value,
'buttonType': buttonType.name,
'clickIdType': clickIdType.value
};
}