Landmark constructor

Landmark({
  1. double? x,
  2. double? y,
  3. double? z,
  4. double? visibility,
  5. double? presence,
})

Implementation

factory Landmark({
  $core.double? x,
  $core.double? y,
  $core.double? z,
  $core.double? visibility,
  $core.double? presence,
}) {
  final _result = create();
  if (x != null) {
    _result.x = x;
  }
  if (y != null) {
    _result.y = y;
  }
  if (z != null) {
    _result.z = z;
  }
  if (visibility != null) {
    _result.visibility = visibility;
  }
  if (presence != null) {
    _result.presence = presence;
  }
  return _result;
}