PassioFoodIcons class
The defaultIcon represents one of five predefined icons shipped with the SDK, base on the food item's PassioIDEntityType.
The cachedIcon is a previously downloaded icon for a give food item.
Constructors
- PassioFoodIcons(PlatformImage defaultIcon, PlatformImage? cachedIcon)
-
Creates a new
PassioFoodIcons
object.const
Properties
- cachedIcon → PlatformImage?
-
A cached icon, which is a previously downloaded icon for a given food item.
final
- defaultIcon → PlatformImage
-
The default icon, which is one of five predefined icons based on the
food item's PassioIDEntityType.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited