OrgView class

Constructors

OrgView({String? badgeMarkdown, int? createdAt, String? method, String? ownerUrl, bool? verified, int? verifiedAt})
Returns a new OrgView instance.

Properties

badgeMarkdown ↔ String?
BadgeMarkdown is the ready-to-paste README snippet, DERIVED for each response from this deployment's badge host and never stored — here it deep-links the OWNER's template import rather than one repository's.
getter/setter pair
createdAt ↔ int?
CreatedAt is unix seconds when the owner claim was first recorded — equal to verifiedAt on the first proof, then fixed while verifiedAt moves.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
method ↔ String?
Method is HOW the owner was proven, always against its ".github" control repository: "oauth" — an IAM-linked forge token showed admin or push on it; or "file" — a hanzo.json on its default branch carried this author's verify code. The "maintainer" shortcut is a per-repository attribution and never appears here. Omitted on a row written before the method was recorded.
getter/setter pair
ownerUrl ↔ String?
OwnerURL is the claim key in canonical form — lowercased "host/owner" with NO repository segment, host ∈ {github.com, gitlab.com}. It covers every repository under that owner, so code with no claim of its own still earns; a per-repository claim outranks it. UNIQUE across every author: first proven claim wins.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
verified ↔ bool?
Verified reports that ownership of the WHOLE owner was proven — against that owner's ".github" control repository, which is exactly as strong as a per-repository claim. Only a proven claim is written, so every row returned here is true.
getter/setter pair
verifiedAt ↔ int?
VerifiedAt is unix seconds of the most recent successful proof of the owner; re-verifying refreshes it, and the method beside it, in place.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → OrgView?
Returns a new OrgView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<OrgView>
mapFromJson(dynamic json) → Map<String, OrgView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<OrgView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.