toJson method
Implementation
@override
Map<String, Object?> toJson() => {
...super.toJson(),
if (body != null) 'body': body,
'command': command,
if (message != null) 'message': message,
'request_seq': requestSeq,
'success': success,
};