toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'commands'] = this.commands;
if (this.cursor != null) {
json[r'cursor'] = this.cursor;
} else {
json[r'cursor'] = null;
}
return json;
}