WatchedItem class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

WatchedItem(int plays, String? lastWatchedAt, String? lastUpdatedAt, Movie? movie, Show? show, List<WatchedSeason>? seasons)
WatchedItem.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lastUpdatedAt String?
final
lastWatchedAt String?
final
movie Movie?
final
plays int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seasons List<WatchedSeason>?
final
show Show?
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) WatchedItem