toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "authorities": authorities.map((x) => x.toMap()).toList(),
    "handle_null_taskaffinity": handleNullTaskAffinity,
    "authorization_user_agent":
        authorizationUserAgent.toString().split('.').last,
    "minimum_required_broker_protocol_version":
        minimumRequiredBrowsersVersion,
    "multiple_clouds_supported": multipleCloudsSupported,
    "broker_redirect_uri_registered": brokerRedirectUriRegistered,
    "web_view_zoom_controls_enabled": webViewZoomControlsEnabled,
    "web_view_zoom_enabled": webViewZoomEnabled,
    "authorization_in_current_task": authorizationInCurrentTask,
    "environment": environment.toString().split('.').last,
    "power_opt_check_for_network_req_enabled": powerOptCheckEnabled,
    "http": http.toMap(),
    "logger": logger.toMap(),
    "account_mode": accountMode.toString().split('.').last,
    "browser_safelist": browserSafeList.map((x) => x.toMap()).toList(),
  };
}