adStyle static method

BigoSplashAdStyle adStyle({
  1. required String style,
})

Implementation

static BigoSplashAdStyle adStyle({required String style}) {
  final BigoSplashAdStyle adStyle;
  if (style == BigoSplashAdStyle.horizontal.style) {
    adStyle = BigoSplashAdStyle.horizontal;
  } else if (style == BigoSplashAdStyle.verticalFullScreen.style) {
    adStyle = BigoSplashAdStyle.verticalFullScreen;
  } else {
    adStyle = BigoSplashAdStyle.verticalHalfScreen;
  }
  return adStyle;
}