toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'favorite_button': favoriteButton.toJson(),
    'bank_button': bankButton.toJson(),
    'action_button': actionButton.toJson(),
    'text_color': textColor.toString(),
    'background_color': backgroundColor.toString()
  };
}