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