ItemModel2 class

Inheritance

Constructors

ItemModel2.new({String id = '', String name = '', bool selected = false, String shop_name = ''})

Properties

classable_id int
getter/setter pair
classable_type String
getter/setter pair
created_at String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pairinherited
name String
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
getter/setter pairinherited
shop_id int
getter/setter pair
shop_image String
getter/setter pair
shop_name String
getter/setter pair
total_comment int
getter/setter pair
total_like int
getter/setter pair
user_comment bool
getter/setter pair
user_liked bool
getter/setter pair
user_shared bool
getter/setter pair

Methods

copyComment(ItemModel2 value) → void
fromJson(dynamic json, {String? keyName}) ItemModel2
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(String id, String name) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited