DeviceAuth class Null safety
device auth object
Constructors
- DeviceAuth({required String accountId, required String deviceId, required String secret, String displayName = ""})
- constructor
-
DeviceAuth.fromJson(Map<
String, dynamic> json) -
device auth from json method
factory
Properties
- accountId ↔ String
-
The account ID for the device auth
read / write
- deviceId ↔ String
-
The device ID for the device auth
read / write
- displayName ↔ String
-
display name for user of device auth
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- secret ↔ String
-
The secret for the device auth
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, String> - device auth to json method
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited