toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "background_color": backgroundColor,
    "secondary_background_color": secondaryBackgroundColor,
    "text_color": textColor,
    "hint_color": hintColor,
    "link_color": linkColor,
    "button_color": buttonColor,
    "button_text_color": buttonTextColor,
  };
}