type property
By omitting the type, Alfred will load the file path itself, for example a png.
By using type = "fileicon", Alfred will get the icon for the specified path. Finally, by using type = "filetype", you can get the icon of a specific file, for example path = "public.png"
Implementation
@JsonKey(includeIfNull: false)
final AlfredItemIconType? type;