toJson method
Implementation
Map<String, dynamic> toJson() {
final scriptType = this.scriptType;
final source = this.source;
return {
if (scriptType != null) 'scriptType': scriptType.toValue(),
if (source != null) 'source': source,
};
}