DeviceAuth.fromJson constructor
device auth from json method
Implementation
factory DeviceAuth.fromJson(Map<String, dynamic> json) => DeviceAuth(
accountId: json["accountId"] is String ? json["accountId"] ?? "" : "",
deviceId: json["deviceId"] is String ? json["deviceId"] ?? "" : "",
secret: json["secret"] is String ? json["secret"] ?? "" : "",
displayName:
json["displayName"] is String ? json["displayName"] ?? "" : "",
);