TraktList class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

TraktList(String name, String? description, String privacy, int likes, User? user, Ids ids, bool displayNumbers, bool allowComments, String sortBy, String sortHow, String createdAt, String updatedAt, int? itemCount, int commentCount)
TraktList.fromJson(Map<String, dynamic> json)
factory

Properties

allowComments bool
final
commentCount int
final
createdAt String
final
description String?
final
displayNumbers bool
final
hashCode int
The hash code for this object.
no setterinherited
ids Ids
final
itemCount int?
final
likes int
final
name String
final
privacy String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortBy String
final
sortHow String
final
updatedAt String
final
user User?
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) TraktList