LandmarkCategory class Core
Landmark category class.
Represents a category for landmarks.
Constructors
- LandmarkCategory.new()
-
Creates a new LandmarkCategory.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Returns the category id.
no setter
- img ↔ Img
-
Returns the category image as an Img.
getter/setter pair
- landmarkStoreId → int
-
Returns the parent landmark store id. If the category doesn't belong to a landmark store, the function will return GemError.notFound.code.
no setter
- name ↔ String
-
Returns the category name.
getter/setter pair
- pointerId → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
getImage(
{Size? size, ImageFileFormat? format}) → Uint8List? - Returns the category image as bytes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited