toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of AztecParams.

Implementation

Map<String, dynamic> toJson() {
  return {
    'AspectRatio': aspectRatio,
    'ErrorLevel': errorLevel,
    'SymbolMode': symbolMode,
    'TextEncoding': textEncoding,
    'EncodeMode': encodeMode,
    'ECIEncoding': eCIEncoding,
    'IsReaderInitialization': isReaderInitialization,
    'LayersCount': layersCount
  };
}