keyPairType property

  1. @Transient()
KeyPairType get keyPairType

Implementation

@Transient()
KeyPairType get keyPairType =>
    (keyPairTypeIndex >= 0 && keyPairTypeIndex < KeyPairType.values.length)
        ? KeyPairType.values[keyPairTypeIndex]
        : KeyPairType.ed25519;
set keyPairType (KeyPairType type)

Implementation

set keyPairType(KeyPairType type) => keyPairTypeIndex = type.index;