ItemModel class

Constructors

ItemModel({int? id, String? image, String? title, String? subTitle, String? description, String? rating, dynamic onFav(int)?, dynamic onTab(int)?, dynamic onSelected(int)?, dynamic onDelete(int)?, bool? isFav, bool? isSelected})

Properties

description String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
image String?
getter/setter pair
isFav bool?
getter/setter pair
isSelected bool?
getter/setter pair
onDelete ↔ dynamic Function(int)?
getter/setter pair
onFav ↔ dynamic Function(int)?
getter/setter pair
onSelected ↔ dynamic Function(int)?
getter/setter pair
onTab ↔ dynamic Function(int)?
getter/setter pair
rating String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subTitle String?
getter/setter pair
title String?
getter/setter pair

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