CaptableNote class

Constructors

CaptableNote({num? capital, num? conversionCap, num? discountRate, String? id, num? interestRate, String? issueDate, String? publicId, String? stakeholderId, String? stakeholderName, String? status, String? type})
Returns a new CaptableNote instance.

Properties

capital ↔ num?
Capital is the principal the investor lent.
getter/setter pair
conversionCap ↔ num?
ConversionCap is the valuation cap on conversion, if any.
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 note id.
getter/setter pair
interestRate ↔ num?
InterestRate is the annual interest rate, if any.
getter/setter pair
issueDate ↔ String?
IssueDate is the ISO date the note was signed.
getter/setter pair
publicId ↔ String?
PublicID is the note'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 note's state, e.g. DRAFT or ACTIVE.
getter/setter pair
type ↔ String?
Type is the instrument kind, e.g. NOTE.
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) → CaptableNote?
Returns a new CaptableNote instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CaptableNote>
mapFromJson(dynamic json) → Map<String, CaptableNote>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CaptableNote>>

Constants

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