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