DataBarParams.fromJson constructor
Creates a DataBarParams instance from a JSON representation.
Implementation
DataBarParams.fromJson(Map<String, dynamic> json) {
aspectRatio = json['aspectRatio']?.toDouble();
columns = json['columns'];
rows = json['rows'];
is2DCompositeComponent = json['is2DCompositeComponent'];
isAllowOnlyGS1Encoding = json['isAllowOnlyGS1Encoding'];
}