createShutdownApprovedMessage function
Creates a shutdown approved message.
Implementation
ShutdownApprovedMessage createShutdownApprovedMessage({
required String requestId,
required String from,
String? paneId,
String? backendType,
}) {
return ShutdownApprovedMessage(
requestId: requestId,
from: from,
timestamp: DateTime.now().toUtc().toIso8601String(),
paneId: paneId,
backendType: backendType,
);
}