toJson method

Map<String, dynamic> toJson()

Creates a JSON object from the Bot Description object.

Implementation

Map<String, dynamic> toJson() {
  return {
    'description': description,
  };
}