# ForegroundStyle.fromJson constructor

ForegroundStyle.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory ForegroundStyle.fromJson(Map<String, dynamic> json) =>
        ForegroundStyle(
          iconVisible: json.containsKey("iconVisible")
              ? (json["iconVisible"] as bool)
              : true,
          color: json.containsKey("color")
              ? ScanbotColor(json["color"] as String)
              : ScanbotColor("#FFFFFF"),
          useShadow:
              json.containsKey("useShadow") ? (json["useShadow"] as bool) : false,
        );