DocRow class

Constructors

DocRow({bool? attested, String? href, String? id, String? kind, String? label, String? note, bool? released, String? tier, String? title, int? updated})
Returns a new DocRow instance.

Properties

attested ↔ bool?
Attested reports whether somebody OUTSIDE this organization put their name to it. Those are the artifacts a reviewer asks for, and they are released through a grant rather than published — there is no field that can say otherwise.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
href ↔ String?
Href is where to read it, present only when this reader may.
getter/setter pair
id ↔ String?
ID is the document's id within this organization's centre.
getter/setter pair
kind ↔ String?
Kind is the artifact type — soc2, iso, pentest, letter, caiq, sig, vsa, questionnaire, policy or other.
getter/setter pair
label ↔ String?
Label is the artifact type in words, for rendering.
getter/setter pair
note ↔ String?
Note is anything the organization says about this artifact.
getter/setter pair
released ↔ bool?
Released reports whether THIS reader may read it. False means the artifact exists and is available on request.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tier ↔ String?
Tier is "public" or "gated". It defaults to gated, so a new artifact is closed until somebody opens it deliberately.
getter/setter pair
title ↔ String?
Title is what the document is called.
getter/setter pair
updated ↔ int?
Updated is when the record last changed, unix milliseconds.
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) → DocRow?
Returns a new DocRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<DocRow>
mapFromJson(dynamic json) → Map<String, DocRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<DocRow>>

Constants

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