AuthResult.success constructor

const AuthResult.success({
  1. required Map<String, dynamic>? userInfo,
  2. List<String>? validatedScopes,
})

Create successful authentication result

Implementation

const AuthResult.success({
  required this.userInfo,
  this.validatedScopes,
}) : isAuthenticated = true,
     error = null;