Runtime.fromMap constructor
Implementation
factory Runtime.fromMap(Map<String, dynamic> map) {
return Runtime(
$id: map['\$id'].toString(),
name: map['name'].toString(),
version: map['version'].toString(),
base: map['base'].toString(),
image: map['image'].toString(),
logo: map['logo'].toString(),
supports: map['supports'] ?? [],
);
}