toMap method

Map<String, String> toMap()

Implementation

Map<String, String> toMap() => {
  'backgroundColor': '#${backgroundColor.value.toRadixString(16)}',
  'contentColor': '#${contentColor.value.toRadixString(16)}',
};