toString method

  1. @override
String toString()
override

Converts a BotCommand instance to a String.

Implementation

@override
String toString() => json.encode(this);