CoffeeModel class abstract

Implemented types
Implementers

Constructors

CoffeeModel({required int id})

Properties

createdAt ↔ DateTime?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt ↔ DateTime?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

convert<T>(dynamic value, {dynamic defaultValue()?}) → T
convertList<T>(dynamic value, {T fromJson(Map<String, dynamic>)?, dynamic defaultValue()?}) → List<T>
convertModel<T>(dynamic value, {required T? fromJson(Map<String, dynamic>), dynamic defaultValue()?}) → T?