changeOrientation method
Implementation
void changeOrientation({bool toLandscape= false}){
if(toLandscape){
emit(Orientation.landscape);
}
}
void changeOrientation({bool toLandscape= false}){
if(toLandscape){
emit(Orientation.landscape);
}
}