toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'primary': primary,
'background': background,
'componentBackground': componentBackground,
'componentBorder': componentBorder,
'componentDivider': componentDivider,
'componentText': componentText,
'primaryText': primaryText,
'secondaryText': secondaryText,
'placeholderText': placeholderText,
'icon': icon,
'error': error
};
}