LicenseValidation class Null safety

Constructors

LicenseValidation(LcpAuthenticating? authentication, bool allowUserInteraction, dynamic sender, CrlService crl, DeviceService device, NetworkService network, PassphrasesService passphrases, LcpClient lcpClient, void onLicenseValidated(LicenseDocument))

Properties

allowUserInteraction bool
final
authentication LcpAuthenticating?
final
crl CrlService
final
device DeviceService
final
hashCode int
The hash code for this object.
read-onlyinherited
isProduction bool
read / write
lcpClient LcpClient
final
network NetworkService
final
observers List<Product2<Observer, ObserverPolicy>>
read / write
onLicenseValidated → void Function(LicenseDocument)
final
passphrases PassphrasesService
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sender → dynamic
final
state LVState
read / write
stateMachine StateMachine<LVState, LVEvent, dynamic>
read / write

Methods

init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
observe(LicenseValidation licenseValidation, Observer observer, {ObserverPolicy policy = ObserverPolicy.always}) → void
toString() String
A string representation of this object.
inherited
validate(LicenseValidationDocument document, Observer completion) → void

Operators

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

Constants

supportedProfiles → const List<String>
["http://readium.org/lcp/basic-profile", "http://readium.org/lcp/profile-1.0"]