UserNameQuery constructor

UserNameQuery({
  1. String? userName,
  2. TextQueryMethod? method,
})

Implementation

factory UserNameQuery({
  $core.String? userName,
  $8.TextQueryMethod? method,
}) {
  final $result = create();
  if (userName != null) {
    $result.userName = userName;
  }
  if (method != null) {
    $result.method = method;
  }
  return $result;
}