ptz property Null safety

Ptz ptz

Implementation

Ptz get ptz {
  if (_ptz == null) throw Exception('PTZ services not available');

  return _ptz!;
}