process method

Implementation

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