Specification.fromMap constructor
Implementation
factory Specification.fromMap(Map<String, dynamic> map) {
return Specification(
memory: map['memory'],
cpus: map['cpus'].toDouble(),
enabled: map['enabled'],
slug: map['slug'].toString(),
);
}