toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'primaryBackgroundColor': primaryBackgroundColor?.value,
    'primaryTextColor': primaryTextColor?.value,
    'secondaryTextColor': secondaryTextColor?.value,
    'actionTextColor': actionTextColor?.value,
    'primaryFont': primaryFont?.toMap(),
    'secondaryFont': secondaryFont?.toMap(),
  };
}