Helper constructor
Implementation
Helper({
this.srcAlpha = Helper.DEC,
this.dstAlpha = Helper.HEX,
}) {
if ((srcAlpha.isEmpty) || (dstAlpha.isEmpty)) {
throw Exception('Invalid srcAlpha or dstAlpha');
}
this.srcAlpha = srcAlpha;
this.dstAlpha = dstAlpha;
}