signature property

String get signature

Returns the currently configured signature.

Implementation

String get signature => _signature;
set signature (String value)

Allow users of this class to override the default signature, as long as it's of correct length and contents.

Throws InvalidSignatureException if the new signature is not good.

Implementation

set signature(String value) {
  _checkValidSignature(value, _signature.length);

  _signature = value;
}