type property

The type of the session.

Implementation

CrossDeviceSessionType get type => signingHash.isNotEmpty
    ? CrossDeviceSessionType.signing
    : CrossDeviceSessionType.authentication;