DeviceService class Null safety
Constructors
- DeviceService(DeviceRepository repository, NetworkService network, SharedPreferences preferences)
Properties
-
asQueryParameters
→ Future<
Map< String, String> > -
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id → String
-
read-only
-
name
→ Future<
String> -
read-only
- network → NetworkService
-
final
- preferences → SharedPreferences
-
final
- repository → DeviceRepository
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
registerLicense(
LicenseDocument license, Link link) → Future< ByteData?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- lcpDeviceIdPref → const String
-
settingsPrefix + ".lcp_device_id"
- settingsPrefix → const String
-
"org.readium.r2.settings"