MetalBase.from(Map<String, dynamic> metal) : attr = MetalAttr.from(metal['attr']), name = metal['name'] ?? '', description = metal['description'] ?? '', data = metal['data'] ?? '';