Signature constructor

Signature({
  1. String? signature,
  2. String? signer,
  3. String? signatureType,
  4. String? timestamp,
})

Implementation

Signature(
    {String? signature,
    String? signer,
    String? signatureType,
    String? timestamp}) {
  if (signature != null) {
    this._signature = signature;
  }
  if (signer != null) {
    this._signer = signer;
  }
  if (signatureType != null) {
    this._signatureType = signatureType;
  }
  if (timestamp != null) {
    this._timestamp = timestamp;
  }
}