CaptableSafe class

Constructors

CaptableSafe({num? capital, num? discountRate, String? id, String? issueDate, bool? mfn, bool? proRata, String? publicId, String? stakeholderId, String? stakeholderName, String? status, String? type, num? valuationCap})
Returns a new CaptableSafe instance.

Properties

capital ↔ num?
Capital is the cash the investor put in.
getter/setter pair
discountRate ↔ num?
DiscountRate is the discount to the next round's price, if any.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the SAFE id.
getter/setter pair
issueDate ↔ String?
IssueDate is the ISO date the SAFE was signed.
getter/setter pair
mfn ↔ bool?
MFN is true when the SAFE carries a most-favoured-nation clause.
getter/setter pair
proRata ↔ bool?
ProRata is true when the SAFE carries pro-rata rights.
getter/setter pair
publicId ↔ String?
PublicID is the SAFE's shareable identifier, unique within the company.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stakeholderId ↔ String?
StakeholderID is the investor.
getter/setter pair
stakeholderName ↔ String?
StakeholderName is that investor's name.
getter/setter pair
status ↔ String?
Status is the SAFE's state, e.g. DRAFT or ACTIVE.
getter/setter pair
type ↔ String?
Type is POST_MONEY or PRE_MONEY.
getter/setter pair
valuationCap ↔ num?
ValuationCap is the valuation cap, if any.
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) → CaptableSafe?
Returns a new CaptableSafe instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CaptableSafe>
mapFromJson(dynamic json) → Map<String, CaptableSafe>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CaptableSafe>>

Constants

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