createQRConfig

private open fun createQRConfig(foregroundColor: String, backgroundColor: String): MatrixToImageConfig

Method to create a matrix config for customize the QRCode

Return

matrix config as MatrixToImageConfig

Parameters

foregroundColor

: color of the QRCode pattern

backgroundColor

: background color of the QRCode pattern