toJson method
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
"statusBarMode": statusBarMode.name,
"navigationBarMode": navigationBarMode.name,
"topBarBackgroundColor": topBarBackgroundColor.toString(),
"bottomBarBackgroundColor": bottomBarBackgroundColor.toString(),
"orientationLockMode": orientationLockMode.name,
};