isValid property

bool get isValid

Implementation

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