HistoryItem class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

HistoryItem(int id, String watchedAt, String action, String type, Movie? movie, Episode? episode, Show? show)
HistoryItem.fromJson(Map<String, dynamic> json)
factory

Properties

action String
final
episode Episode?
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
movie Movie?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show Show?
final
type String
final
watchedAt String
final

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

Static Methods

fromJsonModel(Map<String, dynamic> json) HistoryItem