clear method
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 ?? "");
}