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