LegacyNip04Message class

A decrypted legacy NIP-04 message returned by Dms.loadLegacyNip04Conversation.

Its relay-visible envelope is intentionally retained so applications can clearly distinguish this compatibility transport from private NIP-17 DMs.

Constructors

LegacyNip04Message({required Nip01Event event, required String peerPubKey, required bool isOutgoing, required String content})
const

Properties

content String
final
createdAt int
no setter
event Nip01Event
final
hashCode int
The hash code for this object.
no setterinherited
id String
no setter
isOutgoing bool
final
peerPubKey String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited