asString method

String? asString()

Implementation

String? asString() => switch (this) {
      IDNone() => null,
      SerialNumber(serialNumber: final sn) => sn,
      CAARegistrationID(registrationID: final regId) => regId,
      UTMAssignedID(id: final id) => id.toHexString(),
      SpecificSessionID(id: final id) => id.toHexString(),
    };