toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of DataBarParams.

Implementation

Map<String, dynamic> toJson() {
  return {
    'AspectRatio': aspectRatio,
    'Columns': columns,
    'Rows': rows,
    'Is2DCompositeComponent': is2DCompositeComponent,
    'IsAllowOnlyGS1Encoding': isAllowOnlyGS1Encoding
  };
}