TraktNote class

Represents a user note.

Constructors

TraktNote({required int id, required String note, required String privacy, DateTime? createdAt, DateTime? updatedAt, TraktUser? user})
Creates a new TraktNote instance.
const
TraktNote.fromJson(Map<String, dynamic> json)
Creates a TraktNote from a JSON map.
factory

Properties

createdAt → DateTime?
When the note was created.
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
Unique ID of the note.
final
note → String
Content of the note.
final
privacy → String
Privacy setting of the note.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → DateTime?
When the note was last updated.
final
user → TraktUser?
The user who wrote the note.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this note to a JSON map.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited