startIps method

  1. @override
Future<IDCheckioResult> startIps(
  1. String folderUid
)
override

Implementation

@override
Future<IDCheckioResult> startIps(String folderUid) async {
  try {
    String json = await (methodChannel.invokeMethod('startIps', <String, dynamic>{
      'folderUid': folderUid
    }));
    IDCheckioResult result = IDCheckioResult.fromJson(jsonDecode(json));
    return result;
  } on PlatformException catch (e) {
    throw PlatformException(code: "CAPTURE_FAILED", message: e.message);
  }
}