fromRelayMessage method

NostrEOSE fromRelayMessage(
  1. String message
)

Implementation

NostrEOSE fromRelayMessage(String message) {
  final decoded = jsonDecode(message) as List;

  return NostrEOSE(subscriptionId: decoded.last as String);
}