encoded property Null safety

String encoded

Implementation

String get encoded => cmd + jsonEncode(payload) + '\n';