Onvif constructor Null safety

Onvif(
  1. {required dynamic host,
  2. required String username,
  3. required String password,
  4. bool debug = false}
)

Implementation

Onvif(
    {required host,
    required this.username,
    required this.password,
    this.debug = false}) {
  Loggy.initLoggy();

  deviceManagement =
      DeviceManagement(onvif: this, uri: 'http://$host/onvif/device_service');
}