isValid property

bool get isValid

Implementation

bool get isValid {
  // Validate event data
  if (id != _getId(pubKey, createdAt, kind, tags, content)) {
    return false;
  }
  return true;
}