play method

  1. @override
void play({
  1. required ShopLivePlayerData data,
})
override

Implementation

@override
void play({
  required ShopLivePlayerData data,
}) async {
  return await methodChannel.invokeMethod<void>('player_play', <String, dynamic>{
    'campaignKey': data.campaignKey,
    'keepWindowStateOnPlayExecuted': data.keepWindowStateOnPlayExecuted,
    'referrer': data.referrer
  });
}