DotCodeParams.fromJson constructor

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

Creates a DotCodeParams instance from a JSON representation.

Implementation

DotCodeParams.fromJson(Map<String, dynamic> json) {
  aspectRatio = json['aspectRatio']?.toDouble();
  columns = json['columns'];
  encodeMode = DotCodeEncodeMode.fromJson(json['encodeMode']);
  eCIEncoding = ECIEncodings.fromJson(json['eCIEncoding']);
  isReaderInitialization = json['isReaderInitialization'];
  rows = json['rows'];
}