Item class

Constructors

Item({required int id, required String name, required String desc, required String nextPager, required String image})
Item.fromJson(String source)
factory
Item.fromMap(Map<String, dynamic> map)
factory

Properties

desc → String
final
hashCode → int
The hash code for this object.
no setteroverride
id → int
final
image → String
final
name → String
final
nextPager → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? id, String? name, String? desc, String? nextPager, String? image}) → Item
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → String
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override