isIdValid property

bool get isIdValid

is Id valid?

Implementation

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