AztecParams.fromJson constructor
Creates a AztecParams instance from a JSON representation.
Implementation
AztecParams.fromJson(Map<String, dynamic> json) {
aspectRatio = 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'];
}