adStyle static method
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;
}