VideoData({ - String? id,
- CameraDetails? details,
- List<int>? frame,
- Version? version,
- String? imagePath,
- BoolState? leftObstacle,
- BoolState? centerObstacle,
- BoolState? rightObstacle,
- BoolState? bottomObstacle,
- BoolState? arucoDetected,
- double? arucoSize,
- 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;
}