TraktServiceConnection class

OAuth connection details for a single service.

Constructors

TraktServiceConnection({required bool connected, String? token, String? secret, DateTime? authorizedAt, String? username})
Creates a new TraktServiceConnection instance.
const
TraktServiceConnection.fromJson(Map<String, dynamic> json)
Creates a TraktServiceConnection from a JSON map.
factory

Properties

authorizedAt → DateTime?
When authorization was granted.
final
connected → bool
Whether the service is connected.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → String?
OAuth secret.
final
token → String?
OAuth token.
final
username → String?
Service username (if different from Trakt username).
final

Methods

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

Operators

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