BarcodePickViewHighlightStyleRectangularWithIcons.fromJSON constructor

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

Implementation

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