AccountQuery constructor

AccountQuery({
  1. ContinuationToken? continuation,
  2. StringValue? userIdWithAccess,
  3. StringValue? displayName,
  4. StringValue? name,
  5. StringValue? email,
  6. PhoneNumber? phoneNumber,
})

Implementation

factory AccountQuery({
  $3.ContinuationToken? continuation,
  $1.StringValue? userIdWithAccess,
  $1.StringValue? displayName,
  $1.StringValue? name,
  $1.StringValue? email,
  $3.PhoneNumber? phoneNumber,
}) {
  final result = create();
  if (continuation != null) result.continuation = continuation;
  if (userIdWithAccess != null) result.userIdWithAccess = userIdWithAccess;
  if (displayName != null) result.displayName = displayName;
  if (name != null) result.name = name;
  if (email != null) result.email = email;
  if (phoneNumber != null) result.phoneNumber = phoneNumber;
  return result;
}