QrParams.fromJson constructor
QrParams.fromJson(
- Map<String, dynamic> json
)
Implementation
QrParams.fromJson(Map<String, dynamic> json) {
aspectRatio =
json['aspectRatio'] == null ? null : json['aspectRatio'].toDouble();
textEncoding = json['textEncoding'];
encodeType = QREncodeType.fromJson(json['encodeType']);
eCIEncoding = ECIEncodings.fromJson(json['eCIEncoding']);
encodeMode = QREncodeMode.fromJson(json['encodeMode']);
errorLevel = QRErrorLevel.fromJson(json['errorLevel']);
version = QRVersion.fromJson(json['version']);
structuredAppend = StructuredAppend.fromJson(json['structuredAppend']);
}