customMap property

  1. @override
Map<String, dynamic> get customMap
override

Implementation

@override
Map<String, dynamic> get customMap => {
      'newland': {
        if (sendScanFailBroadcast != null) 'sendScanFailBroadcast': sendScanFailBroadcast,
        if (triggerMode != null) 'triggerMode': triggerMode!.name,
        if (scanTimeout != null) 'scanTimeout': scanTimeout!.inMilliseconds,
        if (rereadDelay != null) 'rereadDelay': rereadDelay!.inMilliseconds,
        if (scanInterval != null) 'scanInterval': scanInterval!.inMilliseconds,
        if (soundOnScan != null) 'soundOnScan': soundOnScan,
        if (vibrateOnScan != null) 'vibrateOnScan': vibrateOnScan,
        if (ledOnScan != null) 'ledOnScan': ledOnScan,
        if (mainTriggerKey != null) 'mainTriggerKey': mainTriggerKey,
        if (leftTriggerKey != null) 'leftTriggerKey': leftTriggerKey,
        if (rightTriggerKey != null) 'rightTriggerKey': rightTriggerKey,
        if (pistolGripTrigger != null) 'pistolGripTrigger': pistolGripTrigger,
      },
    };