isPortrait method
@Description check if the current context is with portrait view @Return: bool => bool check for this condition
Implementation
bool isPortrait(){
return this.orientation == Orientation.portrait && this.isPortraitLandscape();
}
@Description check if the current context is with portrait view @Return: bool => bool check for this condition
bool isPortrait(){
return this.orientation == Orientation.portrait && this.isPortraitLandscape();
}