TrustEdit class

Constructors

TrustEdit({String? body, String? document, String? framework, String? id, String? name, bool? retired, String? summary, String? tier})
Returns a new TrustEdit instance.

Properties

body ↔ String?
Body replaces the item's content.
getter/setter pair
document ↔ String?
Document replaces the file the item points at — this is how a report is superseded by its next edition. The new document must already exist in the caller org's own store.
getter/setter pair
framework ↔ String?
Framework replaces the standard it speaks to.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the item to change, taken from the path.
getter/setter pair
name ↔ String?
Name replaces its title.
getter/setter pair
retired ↔ bool?
Retired withdraws the item, or true→false restores it. A retired item leaves the public centre at once and can no longer be granted; grants already made over it stand, because they are part of the record.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary ↔ String?
Summary replaces the line about it.
getter/setter pair
tier ↔ String?
Tier moves it between public and gated. Moving an auditor-signed item to public is refused.
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) → TrustEdit?
Returns a new TrustEdit instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<TrustEdit>
mapFromJson(dynamic json) → Map<String, TrustEdit>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<TrustEdit>>

Constants

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