encode method
Encodes this message to a JSON string.
Example:
final jsonString = msg.encode();
Implementation
String encode() => jsonEncode(toJson());
Encodes this message to a JSON string.
Example:
final jsonString = msg.encode();
String encode() => jsonEncode(toJson());