CaptableShareClass class

Constructors

CaptableShareClass({String? classType, String? companyName, String? conversionRights, String? id, int? idx, int? initialSharesAuthorized, num? liquidationPreferenceMultiple, String? name, num? parValue, num? participationCapMultiple, String? prefix, num? pricePerShare, int? seniority, int? votesPerShare})
Returns a new CaptableShareClass instance.

Properties

classType ↔ String?
ClassType is COMMON or PREFERRED.
getter/setter pair
companyName ↔ String?
CompanyName is the name of the company whose cap table this is.
getter/setter pair
conversionRights ↔ String?
ConversionRights describes what the class converts into, e.g. CONVERTS_TO_FUTURE_ROUND.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the share class id.
getter/setter pair
idx ↔ int?
Idx is the class's 1-based position within the company, in creation order.
getter/setter pair
initialSharesAuthorized ↔ int?
InitialSharesAuthorized is how many shares of this class are authorized.
getter/setter pair
liquidationPreferenceMultiple ↔ num?
LiquidationPreferenceMultiple is the preference multiple on liquidation.
getter/setter pair
name ↔ String?
Name is the class name, e.g. "Common" or "Series A Preferred".
getter/setter pair
participationCapMultiple ↔ num?
ParticipationCapMultiple caps participation on liquidation; 0 is uncapped.
getter/setter pair
parValue ↔ num?
ParValue is the par value per share.
getter/setter pair
prefix ↔ String?
Prefix is the certificate prefix, CS for common and PS for preferred.
getter/setter pair
pricePerShare ↔ num?
PricePerShare is the issue price per share.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seniority ↔ int?
Seniority orders classes in a liquidation waterfall; higher is more senior.
getter/setter pair
votesPerShare ↔ int?
VotesPerShare is how many votes one share of this class carries.
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) → CaptableShareClass?
Returns a new CaptableShareClass instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CaptableShareClass>
mapFromJson(dynamic json) → Map<String, CaptableShareClass>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CaptableShareClass>>

Constants

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