updateTextOverlay method

  1. @override
Future<void> updateTextOverlay(
  1. int textureId,
  2. Map<String, dynamic> overlay
)
override

Updates the text overlay with the same id as overlay.

overlay is a JSON-compatible map produced by TimelineTextOverlay.toJson.

Implementation

@override
Future<void> updateTextOverlay(int textureId, Map<String, dynamic> overlay) {
  return methodChannel.invokeMethod<void>(
    'updateTextOverlay',
    <String, Object?>{'textureId': textureId, 'overlay': overlay},
  );
}