RatedItem class Null safety

Annotations

Constructors

RatedItem(int rating, String ratedAt, String type, Movie? movie, Episode? episode, Season? season, Show? show)
RatedItem.fromJson(Map<String, dynamic> json)
factory

Properties

episode Episode?
final
hashCode int
The hash code for this object.
read-only, inherited
movie Movie?
final
ratedAt String
@JsonKey(name: 'rated_at'), final
rating int
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
season Season?
final
show Show?
final
type String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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) RatedItem