Episode class

Annotations
  • @JsonSerializable()

Constructors

Episode(int season, int number, String? title, Ids ids, String? overview, double? rating, int? votes, int? runtime, int? commentCount, String? firstAired, String? updatedAt, List<String>? availableTranslations)
Episode.fromJson(Map<String, dynamic> json)
factory

Properties

availableTranslations List<String>?
final
commentCount int?
final
firstAired String?
final
hashCode int
The hash code for this object.
no setterinherited
ids Ids
final
metadata Map<String, dynamic>
no setter
number int
final
overview String?
final
rating double?
final
runtime int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
season int
final
title String?
final
updatedAt String?
final
votes int?
final

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

fromJsonModel(Map<String, dynamic> json) Episode