LoggerRequest constructor

LoggerRequest({
  1. String? namespace,
  2. AuthToken? authToken,
  3. Log? log,
  4. LogFilter? filter,
  5. LoggerConfig? config,
})

Implementation

factory LoggerRequest({
  $core.String? namespace,
  $2.AuthToken? authToken,
  Log? log,
  LogFilter? filter,
  LoggerConfig? config,
}) {
  final _result = create();
  if (namespace != null) {
    _result.namespace = namespace;
  }
  if (authToken != null) {
    _result.authToken = authToken;
  }
  if (log != null) {
    _result.log = log;
  }
  if (filter != null) {
    _result.filter = filter;
  }
  if (config != null) {
    _result.config = config;
  }
  return _result;
}