clear method

  1. @override
Future<String> clear(
  1. String clearType
)

Clears the annotation content with parameter clearType. @param type the specify clean type. See ZoomVideoSDKAnnotationClearType.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String> clear(String clearType) async {
  var params = <String, dynamic>{};
  params.putIfAbsent("clearType", () => clearType);

  return await methodChannel
      .invokeMethod<String>('clear', params)
      .then<String>((String? value) => value ?? "");
}