toJson method

Map<String, String> toJson()

device auth to json method

Implementation

Map<String, String> toJson() => {
      "accountId": accountId,
      "deviceId": deviceId,
      "secret": secret,
      "displayName": displayName,
    };