BarcodePickViewHighlightStyleDotWithIcons.fromJSON constructor

BarcodePickViewHighlightStyleDotWithIcons.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

factory BarcodePickViewHighlightStyleDotWithIcons.fromJSON(Map<String, dynamic> json) {
  var brushesForState = ViewHighlightStyleDefaultsHelper.getBrushesForState(json['brushesForState']);
  var iconStyle = BarcodePickIconStyleDeserializer.fromJSON(json['iconStyle']);
  return BarcodePickViewHighlightStyleDotWithIcons._(brushesForState, iconStyle);
}