PlutoRequest constructor

PlutoRequest({
  1. String? id,
  2. String? namespace,
  3. String? userId,
  4. LogLevel? level,
  5. Timestamp? createdAt,
  6. String? trace,
  7. String? accessToken,
  8. PlatformType? platform,
})

Implementation

factory PlutoRequest({
  $core.String? id,
  $core.String? namespace,
  $core.String? userId,
  LogLevel? level,
  $1.Timestamp? createdAt,
  $core.String? trace,
  $core.String? accessToken,
  $2.PlatformType? platform,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (namespace != null) {
    _result.namespace = namespace;
  }
  if (userId != null) {
    _result.userId = userId;
  }
  if (level != null) {
    _result.level = level;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (trace != null) {
    _result.trace = trace;
  }
  if (accessToken != null) {
    _result.accessToken = accessToken;
  }
  if (platform != null) {
    _result.platform = platform;
  }
  return _result;
}