toJson method
Implementation
Map<String, dynamic> toJson() {
final kernelSpecs = this.kernelSpecs;
final fileSystemConfig = this.fileSystemConfig;
return {
'KernelSpecs': kernelSpecs,
if (fileSystemConfig != null) 'FileSystemConfig': fileSystemConfig,
};
}