DotCodeParams.fromJson constructor

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

Implementation

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