WhoAmIResponse constructor

WhoAmIResponse({
  1. bool? isAuthenticated,
  2. String? tokenId,
  3. String? userId,
})

Implementation

factory WhoAmIResponse({
  $core.bool? isAuthenticated,
  $core.String? tokenId,
  $core.String? userId,
}) {
  final result = create();
  if (isAuthenticated != null) result.isAuthenticated = isAuthenticated;
  if (tokenId != null) result.tokenId = tokenId;
  if (userId != null) result.userId = userId;
  return result;
}