setTerminalLabel method

dynamic setTerminalLabel(
  1. String value
)

Set terminal label

length of value is 1 up to 25.

Implementation

setTerminalLabel(String value) {
  if (value.length > 25) {
    throw MaxValueLengthErr(title: "TerminalLabel", length: "25");
  }
  final terminalLabel = setTLV(value, AdditionalID.terminalLabel);
  this.value = this.value.copyWith(terminalLabel: terminalLabel);
}