KernelCapabilities.fromJson constructor
Implementation
factory KernelCapabilities.fromJson(Map<String, dynamic> json) {
return KernelCapabilities(
add: (json['add'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
drop: (json['drop'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}