cancel method

Implementation

Future<VideoRequestDetails> cancel() async {
  if (_mergeData?.id == null) {
    throw Exception('Call build() before cancel()');
  }
  final response = await TruvideoVideoSdk.cancelVideo(_mergeData!.id);
  return VideoRequestDetails.fromJsonString(response!);
}