VideoData constructor

VideoData({
  1. String? id,
  2. CameraDetails? details,
  3. List<int>? frame,
  4. Version? version,
  5. String? imagePath,
  6. BoolState? leftObstacle,
  7. BoolState? centerObstacle,
  8. BoolState? rightObstacle,
  9. BoolState? bottomObstacle,
  10. BoolState? arucoDetected,
  11. double? arucoSize,
  12. double? arucoPosition,
})

Implementation

factory VideoData({
  $core.String? id,
  CameraDetails? details,
  $core.List<$core.int>? frame,
  $0.Version? version,
  $core.String? imagePath,
  $1.BoolState? leftObstacle,
  $1.BoolState? centerObstacle,
  $1.BoolState? rightObstacle,
  $1.BoolState? bottomObstacle,
  $1.BoolState? arucoDetected,
  $core.double? arucoSize,
  $core.double? arucoPosition,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (details != null) {
    $result.details = details;
  }
  if (frame != null) {
    $result.frame = frame;
  }
  if (version != null) {
    $result.version = version;
  }
  if (imagePath != null) {
    $result.imagePath = imagePath;
  }
  if (leftObstacle != null) {
    $result.leftObstacle = leftObstacle;
  }
  if (centerObstacle != null) {
    $result.centerObstacle = centerObstacle;
  }
  if (rightObstacle != null) {
    $result.rightObstacle = rightObstacle;
  }
  if (bottomObstacle != null) {
    $result.bottomObstacle = bottomObstacle;
  }
  if (arucoDetected != null) {
    $result.arucoDetected = arucoDetected;
  }
  if (arucoSize != null) {
    $result.arucoSize = arucoSize;
  }
  if (arucoPosition != null) {
    $result.arucoPosition = arucoPosition;
  }
  return $result;
}