toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'content': content,
    'type': type,
    'width': width,
    'height': height,
    'bitmapColor': bitmapColor?.value,
    'margin': margin,
    'backgroundColor': backgroundColor?.value,
    'qrLogo': qrLogo?.toString(),
  };
}