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