setCompositionConfig method
Changes the output resolution/aspect ratio of the loaded composition
in place, preserving textureId, clips, overlays and playback position.
config is a JSON-compatible map produced by
TimelineCompositionConfig.toJson.
Implementation
@override
Future<void> setCompositionConfig(
int textureId,
Map<String, dynamic> config,
) {
return methodChannel.invokeMethod<void>(
'setCompositionConfig',
<String, Object?>{'textureId': textureId, 'config': config},
);
}