KernelGatewayImageConfig.fromJson constructor
Implementation
factory KernelGatewayImageConfig.fromJson(Map<String, dynamic> json) {
return KernelGatewayImageConfig(
kernelSpecs: (json['KernelSpecs'] as List)
.whereNotNull()
.map((e) => KernelSpec.fromJson(e as Map<String, dynamic>))
.toList(),
fileSystemConfig: json['FileSystemConfig'] != null
? FileSystemConfig.fromJson(
json['FileSystemConfig'] as Map<String, dynamic>)
: null,
);
}