TrustAskView class

Constructors

TrustAskView({int? createdAt, int? decidedAt, String? decidedBy, String? email, int? expiresAt, String? id, String? item, String? link, String? nda, String? note, String? party, String? reason, String? state})
Returns a new TrustAskView instance.

Properties

createdAt ↔ int?
CreatedAt is when the ask arrived, in unix milliseconds.
getter/setter pair
decidedAt ↔ int?
DecidedAt is when it was answered, in unix milliseconds; 0 while open.
getter/setter pair
decidedBy ↔ String?
DecidedBy is who answered it.
getter/setter pair
email ↔ String?
Email is the address that asked, as stated and UNVERIFIED — it names a party and proves nothing, which is why the grant is addressed to it rather than trusting it.
getter/setter pair
expiresAt ↔ int?
ExpiresAt is when a granted ask closes, in unix milliseconds.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the request's id.
getter/setter pair
item ↔ String?
Item is the item asked for, empty when the whole released tier was asked for.
getter/setter pair
Link is the share link a granted ask became.
getter/setter pair
nda ↔ String?
Nda is the text this party accepted, verbatim as it stood when they accepted.
getter/setter pair
note ↔ String?
Note is what the decider wrote when refusing.
getter/setter pair
party ↔ String?
Party is the company the asker stated.
getter/setter pair
reason ↔ String?
Reason is why they said they want it.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ String?
State is open, granted or 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) → TrustAskView?
Returns a new TrustAskView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<TrustAskView>
mapFromJson(dynamic json) → Map<String, TrustAskView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<TrustAskView>>

Constants

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