ClauseRow class

Constructors

ClauseRow({List<String> controls = const [], String? group, String? id, String? level, String? title})
Returns a new ClauseRow instance.

Properties

controls ↔ List<String>
Controls are the ids behind it, strongest first. Empty when nothing covers it — and an absent control is never listed here, however it maps.
getter/setter pair
group ↔ String?
Group is the clause's section within the standard, when it has one.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the clause id as the standard publishes it — "CC6.1", "A.5.15", "AC".
getter/setter pair
level ↔ String?
Level is what the strongest control pointed at this clause is worth: "automated", "partial" or "none".
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title ↔ String?
Title is the standard's own words for that clause.
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) → ClauseRow?
Returns a new ClauseRow instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ClauseRow>
mapFromJson(dynamic json) → Map<String, ClauseRow>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ClauseRow>>

Constants

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