e: /home/zakaria/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/video_stream-0.0.1/android/src/main/kotlin/com/marshalltechnology/video_stream/VideoStreamPlugin.kt: (45, 17): Type mismatch: inferred type is Activity? but Activity was expected
lib/screens/live_broadcast/live_broadcase.dart:63:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addObserver(this);
^
lib/screens/live_broadcast/live_broadcase.dart:69:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.removeObserver(this);
e: /home/zakaria/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/video_stream-0.0.1/android/src/main/kotlin/com/marshalltechnology/video_stream/VideoStreamPlugin.kt: (45, 17): Type mismatch: inferred type is Activity? but Activity was expected lib/screens/live_broadcast/live_broadcase.dart:63:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.