AztecParams.fromJson constructor

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

Implementation

AztecParams.fromJson(Map<String, dynamic> json) {
  aspectRatio =
      json['aspectRatio'] == null ? null : json['aspectRatio'].toDouble();
  errorLevel = json['errorLevel'];
  symbolMode = AztecSymbolMode.fromJson(json['symbolMode']);
  textEncoding = json['textEncoding'];
  encodeMode = AztecEncodeMode.fromJson(json['encodeMode']);
  eCIEncoding = ECIEncodings.fromJson(json['eCIEncoding']);
  isReaderInitialization = json['isReaderInitialization'];
  layersCount = json['layersCount'];
}