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