LogMessage constructor

LogMessage({
  1. String? logMessage,
  2. LogMessageSeverityLevel? severityLevel,
  3. Int64? unixTimestampInMs,
  4. LogMessageEntityType? entityType,
  5. String? entityName,
  6. Runtime? runtime,
})

Implementation

factory LogMessage({
  $core.String? logMessage,
  LogMessageSeverityLevel? severityLevel,
  $fixnum.Int64? unixTimestampInMs,
  LogMessageEntityType? entityType,
  $core.String? entityName,
  Runtime? runtime,
}) {
  final $result = create();
  if (logMessage != null) {
    $result.logMessage = logMessage;
  }
  if (severityLevel != null) {
    $result.severityLevel = severityLevel;
  }
  if (unixTimestampInMs != null) {
    $result.unixTimestampInMs = unixTimestampInMs;
  }
  if (entityType != null) {
    $result.entityType = entityType;
  }
  if (entityName != null) {
    $result.entityName = entityName;
  }
  if (runtime != null) {
    $result.runtime = runtime;
  }
  return $result;
}