factory KernelSpec.fromJson(Map<String, dynamic> json) { return KernelSpec( name: json['Name'] as String, displayName: json['DisplayName'] as String?, ); }