toJson method

dynamic toJson()

Implementation

toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['cmd'] = cmd;
  data['cmdInfo'] = cmdInfo;
  return data;
}