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