StatusEvent constructor

StatusEvent({
  1. String? description,
  2. Timestamp? eventTime,
  3. String? type,
  4. TaskExecution? taskExecution,
  5. TaskStatus_State? taskState,
})

Implementation

factory StatusEvent({
  $core.String? description,
  $2.Timestamp? eventTime,
  $core.String? type,
  TaskExecution? taskExecution,
  TaskStatus_State? taskState,
}) {
  final $result = create();
  if (description != null) {
    $result.description = description;
  }
  if (eventTime != null) {
    $result.eventTime = eventTime;
  }
  if (type != null) {
    $result.type = type;
  }
  if (taskExecution != null) {
    $result.taskExecution = taskExecution;
  }
  if (taskState != null) {
    $result.taskState = taskState;
  }
  return $result;
}