BarcodePickViewHighlightStyleRectangular.fromJSON constructor

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

Implementation

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