DeviceAuthMessage constructor
DeviceAuthMessage({
- AuthChallenge? challenge,
- AuthResponse? response,
- AuthError? error,
Implementation
factory DeviceAuthMessage({
AuthChallenge? challenge,
AuthResponse? response,
AuthError? error,
}) {
final _result = create();
if (challenge != null) {
_result.challenge = challenge;
}
if (response != null) {
_result.response = response;
}
if (error != null) {
_result.error = error;
}
return _result;
}