toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'backgroundColor': backgroundColor?.value,
    'titleLabelFont': titleLabelFont?.toMap(),
    'selectedBackgroundColor': selectedBackgroundColor?.value,
    'cornerRadius': cornerRadius,
    'borderWidth': borderWidth,
    'borderColor': borderColor?.value,
    'chevronImage': chevronImage?.toList(),
  };
}