forceReadingTimeout method

dynamic forceReadingTimeout(
  1. int? value
)

Enables reading timeout in seconds only when the NFC reading is forced.

Implementation

forceReadingTimeout(int? value) {
  if (value == null) {
    this.timeoutInSeconds = -1;
  } else {
    if (value > 0) {
      this.timeoutInSeconds = value;
    }
  }
  return this;
}