DataBarParams.fromJson constructor

DataBarParams.fromJson(
  1. Map<String, dynamic> json
)

Implementation

DataBarParams.fromJson(Map<String, dynamic> json) {
  aspectRatio =
      json['aspectRatio'] == null ? null : json['aspectRatio'].toDouble();
  columns = json['columns'];
  rows = json['rows'];
  is2DCompositeComponent = json['is2DCompositeComponent'];
  isAllowOnlyGS1Encoding = json['isAllowOnlyGS1Encoding'];
}