toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"width": width,
"height": height,
"leftMargin": leftMargin,
"cornerRadius": cornerRadius,
"borderWidth": borderWidth,
"borderLightColor": borderLightColor.toSigned(32),
"borderDarkColor": borderDarkColor.toSigned(32),
"bgLightColor": bgLightColor.toSigned(32),
"bgDarkColor": bgDarkColor.toSigned(32),
};
}