isEmpty property

bool get isEmpty

Whether this states nothing at all — the "no key saved" case.

Implementation

bool get isEmpty =>
    (passphrase == null || passphrase!.isEmpty) &&
    (keyFileBytes == null || keyFileBytes!.isEmpty) &&
    (keyFileLocator == null || keyFileLocator!.isEmpty);