Map<String, dynamic> toMap() { return {'appCategory': appCategory.name, 'options': options?.toMap()}; }