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