@override void setEndpoint({ required String? endpoint, }) async { return await methodChannel .invokeMethod<void>('player_setEndpoint', <String, dynamic>{ 'endpoint': endpoint, }); }