ProtoLogMessage constructor

ProtoLogMessage({
  1. String? message,
  2. ProtoLogMessage_LogCategory? logCategory,
  3. ProtoLogMessage_LogLevel? logLevel,
  4. Int64? logDateTime,
})

Implementation

factory ProtoLogMessage({
  $core.String? message,
  ProtoLogMessage_LogCategory? logCategory,
  ProtoLogMessage_LogLevel? logLevel,
  $fixnum.Int64? logDateTime,
}) {
  final $result = create();
  if (message != null) {
    $result.message = message;
  }
  if (logCategory != null) {
    $result.logCategory = logCategory;
  }
  if (logLevel != null) {
    $result.logLevel = logLevel;
  }
  if (logDateTime != null) {
    $result.logDateTime = logDateTime;
  }
  return $result;
}