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