AuthResponse constructor

AuthResponse({
  1. List<TwoFactorAuthType> twoFactorAuthTypes = const [],
})

Create an AuthResponse

Implementation

AuthResponse({
  this.twoFactorAuthTypes = const [],
}) : requiresTwoFactorAuth = twoFactorAuthTypes.isNotEmpty;