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