create method
Allocate a native player instance bound to uri (file://... for
local playback, or an http(s) URL for network streaming). Returns
the handle and the Flutter texture id the player renders into.
Implementation
@override
Future<XVideoPlayerCreateResult> create({required String uri}) async {
final m = await _invokeMap('create', {'uri': uri});
return XVideoPlayerCreateResult(
handle: (m['handle'] as num).toInt(),
textureId: (m['textureId'] as num?)?.toInt(),
);
}