Return as Map
Map
Map<String, dynamic> toMap() { return { "model": model, "manufacturer": manufacturer, "version": version, "platform": platform, "framework": framework }; }