createEnvelope abstract method
Creates a new Envelope instance with required sender/receiver and optional timestamp.
sender is the required sender ID (cannot be null).
receiver is the required receiver ID (cannot be null).
time is the optional message timestamp (defaults to current time if null).
Returns a new Envelope instance with the specified parameters.
Implementation
Envelope createEnvelope({required ID sender, required ID receiver, DateTime? time});