process method

Future<BuilderResponse> process()

Implementation

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