FakeFileTicket class final

A file ticket of createFileTicket (12 9.2): file, variant, principal, login session and expiry.

Constructors

FakeFileTicket({required String fileId, required String variant, required String principalId, required String sessionId, required DateTime expiresAt})
Creates the ticket.
const

Properties

expiresAt → DateTime
The end of its validity (file.ticket_ttl).
final
fileId → String
The file.
final
hashCode → int
The hash code for this object.
no setterinherited
principalId → String
Who asked for it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String
The login session it is bound to.
final
variant → String
original or a thumbnail variant.
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