toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of QrParams.

Implementation

Map<String, dynamic> toJson() {
  return {
    'AspectRatio': aspectRatio,
    'TextEncoding': textEncoding,
    'EncodeType': encodeType,
    'ECIEncoding': eCIEncoding,
    'EncodeMode': encodeMode,
    'ErrorLevel': errorLevel,
    'Version': version,
    'StructuredAppend': structuredAppend
  };
}