# toJson method

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})

## Implementation

    Map<String, dynamic> toJson({ToJsonConfiguration? config}) {
      config = config ?? ToJsonConfiguration();
      Map<String, dynamic> obj = <String, dynamic>{};
      obj["statusBarMode"] = statusBarMode.name;
      obj["navigationBarMode"] = navigationBarMode.name;
      obj["topBarBackgroundColor"] = topBarBackgroundColor.toString();
      obj["bottomBarBackgroundColor"] = bottomBarBackgroundColor.toString();
      obj["orientationLockMode"] = orientationLockMode.name;
      return obj;
    }