# ActionBarConfiguration.fromJson constructor

ActionBarConfiguration.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory ActionBarConfiguration.fromJson(Map<String, dynamic> json) =>
        ActionBarConfiguration(
          flashButton: json.containsKey("flashButton")
              ? RoundButton.fromJson(json["flashButton"] as Map<String, dynamic>)
              : RoundButton(
                  visible: true,
                  accessibilityDescription:
                      "?accessibilityDescriptionFlashButton",
                  backgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
                  foregroundColor: ScanbotColor("?sbColorOnPrimary"),
                  activeBackgroundColor: ScanbotColor("?sbColorWarning"),
                  activeForegroundColor: ScanbotColor("#1C1B1F")),
          zoomButton: json.containsKey("zoomButton")
              ? RoundButton.fromJson(json["zoomButton"] as Map<String, dynamic>)
              : RoundButton(
                  visible: true,
                  accessibilityDescription: "?accessibilityDescriptionZoomButton",
                  backgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
                  foregroundColor: ScanbotColor("?sbColorOnPrimary"),
                  activeBackgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
                  activeForegroundColor: ScanbotColor("?sbColorOnPrimary")),
          flipCameraButton: json.containsKey("flipCameraButton")
              ? RoundButton.fromJson(
                  json["flipCameraButton"] as Map<String, dynamic>)
              : RoundButton(
                  visible: true,
                  accessibilityDescription:
                      "?accessibilityDescriptionFlipCameraButton",
                  backgroundColor: ScanbotColor("?sbColorSurfaceHigh"),
                  foregroundColor: ScanbotColor("?sbColorOnPrimary"),
                  activeBackgroundColor: ScanbotColor("?sbColorWarning"),
                  activeForegroundColor: ScanbotColor("#1C1B1F")),
        );