Operation constructor

Operation({
  1. String? id,
  2. String? method,
  3. Struct? arguments,
  4. Timestamp? started,
  5. String? sessionId,
})

Implementation

factory Operation({
  $core.String? id,
  $core.String? method,
  $43.Struct? arguments,
  $44.Timestamp? started,
  $core.String? sessionId,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (method != null) {
    $result.method = method;
  }
  if (arguments != null) {
    $result.arguments = arguments;
  }
  if (started != null) {
    $result.started = started;
  }
  if (sessionId != null) {
    $result.sessionId = sessionId;
  }
  return $result;
}