setCustomerLabel method

dynamic setCustomerLabel(
  1. String value
)

Set customer label

length of value is 1 up to 25.

Implementation

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