CanRegisterOutput constructor
CanRegisterOutput({
- OTPResponse? response,
- required bool canRegister,
Implementation
CanRegisterOutput({this.response, required this.canRegister})
: assert(() {
if (canRegister == true && response == null) {
throw Exception('response must not be null if canRegister is true');
}
return true;
}());