startVideoPreview method Null safety

Future<int> startVideoPreview()

Start video preview

Implementation

Future<int> startVideoPreview() async {
  IntValue reply = await _api.startVideoPreview();
  return reply.value ?? -1;
}