showBarcode method

dynamic showBarcode(
  1. dynamic param,
  2. dynamic context,
  3. dynamic backcolor
)

Implementation

showBarcode(param, context, backcolor) {
  myLogAll('showBarcode');
  param[gName] = gBarcode;
  showScreenPage([
    {
      gName: param[gLabel],
      gType: gScreen,
      gItems: {
        0: {gItem: getJsonEncode(param)},
        // 1: {gItem: '{"$gType":"$gPhoto","$gValue":$isSelfie}'}
      }
    }
  ], context);
}