Map<String, dynamic> toMap() { return { "\$id": $id, "name": name, "version": version, "base": base, "image": image, "logo": logo, "supports": supports, }; }