toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'titleTextColor': titleTextColor?.value,
    'titleFont': titleFont?.toMap(),
    'subtitleTextColor': subtitleTextColor?.value,
    'subtitleFont': subtitleFont?.toMap(),
    'cornerRadius': cornerRadius,
    'iconTintColor': iconTintColor?.value,
  };
}