CaptableRoundInvestment class

Constructors

CaptableRoundInvestment({num? amount, String? comments, String? date, String? id, int? shares, String? stakeholderId, String? stakeholderName})
Returns a new CaptableRoundInvestment instance.

Properties

amount ↔ num?
Amount is the cash invested.
getter/setter pair
comments ↔ String?
Comments is the note recorded with the cheque, if any.
getter/setter pair
date ↔ String?
Date is the ISO date of the investment.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the investment id.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shares ↔ int?
Shares is how many shares the investment bought; 0 when the round issues no equity at the time of investment.
getter/setter pair
stakeholderId ↔ String?
StakeholderID is the investor.
getter/setter pair
stakeholderName ↔ String?
StakeholderName is that investor's name.
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) → CaptableRoundInvestment?
Returns a new CaptableRoundInvestment instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CaptableRoundInvestment>
mapFromJson(dynamic json) → Map<String, CaptableRoundInvestment>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CaptableRoundInvestment>>

Constants

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