canBeDeserialized static method

dynamic canBeDeserialized(
  1. String message
)

Implementation

static canBeDeserialized(String message) {
  final decoded = jsonDecode(message) as List;

  return decoded.first == NostrConstants.eose;
}