toJson method

Map toJson()

Implementation

Map<dynamic, dynamic> toJson() {
  return {"text": text, "enabled": enabled, "destructive": destructive};
}