Credentials.composite constructor

Credentials.composite(
  1. ProtectedValue? password,
  2. Uint8List? keyFile
)

Implementation

factory Credentials.composite(ProtectedValue? password, Uint8List? keyFile) =>
    KeyFileComposite(
      password: password?.let((that) => PasswordCredentials(that)),
      keyFile: keyFile == null ? null : KeyFileCredentials(keyFile),
    );