LocalTransport constructor

LocalTransport({
  1. String authenticationPassword = "password",
  2. SigningKey? authenticationKey,
})

Implementation

LocalTransport({
  this.authenticationPassword = "password",
  SigningKey? authenticationKey,
}) {
  this.authenticationKey =
      authenticationKey ??
      SigningKey.fromSeed(
        Uint8List.fromList("PasswordPasswordPasswordPassword".codeUnits),
      );
}