attach method
Attach texture to a player index and return texture ID
Implementation
@override
Future<int> attach(int index) async {
final textureId = await methodChannel.invokeMethod<int>('attach', {
'index': index,
});
return textureId ?? -1;
}