Centre class

Constructors

Centre({List<Object> controls = const [], List<CoverRow> coverage = const [], List<DocRow> documents = const [], List<Object> faq = const [], List<FrameworkRow> frameworks = const [], int? generated, TrustTally? inventory, String? org, List<Object> policies = const [], Object? profile, Object? risk, List<Object> subprocessors = const [], List<Object> updates = const [], String? version})
Returns a new Centre instance.

Properties

controls ↔ List<Object>
Controls is the control inventory, each entry naming what it asserts, the mechanism, where it is enforced, how it is verified and the clauses it maps to.
getter/setter pair
coverage ↔ List<CoverRow>
Coverage is the per-framework counts, computed from Controls against each framework's whole published clause list.
getter/setter pair
documents ↔ List<DocRow>
Documents are the artifacts, each saying whether this reader may read it.
getter/setter pair
faq ↔ List<Object>
Faq is the knowledge base — the questions a reviewer asks, answered.
getter/setter pair
frameworks ↔ List<FrameworkRow>
Frameworks are the clause universes the coverage is computed against.
getter/setter pair
generated ↔ int?
Generated is when this answer was computed, unix milliseconds.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
inventory ↔ TrustTally?
Inventory is how the controls themselves stand, independent of framework.
getter/setter pair
org ↔ String?
Org is whose centre this is.
getter/setter pair
policies ↔ List<Object>
Policies are the published policies.
getter/setter pair
profile ↔ Object?
getter/setter pair
risk ↔ Object?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subprocessors ↔ List<Object>
Subprocessors are the third parties this organization sends data to.
getter/setter pair
updates ↔ List<Object>
Updates is the changelog, newest as the organization ordered it.
getter/setter pair
version ↔ String?
Version is the embedded inventory's version.
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) → Centre?
Returns a new Centre instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Centre>
mapFromJson(dynamic json) → Map<String, Centre>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Centre>>

Constants

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