toMap method
Implementation
Map<String, dynamic> toMap() => {
'id': id,
'primary_color': primaryColor,
'text_on_primary_color': textOnPrimaryColor,
'secondary_color': secondaryColor,
'text_on_secondary_color': textOnSecondaryColor,
'accent_color': accentColor,
'text_on_accent_color': textOnAccentColor,
'background_color': backgroundColor,
'text_on_background_color': textOnBackgroundColor,
'is_root': isRoot,
};