canBeDeserialized method

bool canBeDeserialized(
  1. String message
)

Implementation

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

  return decoded.first == NostrConstants.eose;
}