toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'accent': accent,
'accentForeground': accentForeground,
'danger': danger,
'dangerForeground': dangerForeground,
'dimension': dimension,
'dimensionForeground': dimensionForeground,
'measure': measure,
'measureForeground': measureForeground,
'primaryBackground': primaryBackground,
'primaryForeground': primaryForeground,
'secondaryBackground': secondaryBackground,
'secondaryForeground': secondaryForeground,
'success': success,
'successForeground': successForeground,
'warning': warning,
'warningForeground': warningForeground,
};
}