Holds the override implementation of the widget to get json format of the widget class
Map<String, dynamic> toJson();