CaptableShare class

Constructors

CaptableShare({num? capitalContribution, String? certificateId, List<String> companyLegends = const [], String? id, String? issueDate, num? pricePerShare, int? quantity, String? shareClassId, String? shareClassName, String? shareClassType, String? stakeholderId, String? stakeholderName, String? status})
Returns a new CaptableShare instance.

Properties

capitalContribution ↔ num?
CapitalContribution is the cash paid for the certificate, if recorded.
getter/setter pair
certificateId ↔ String?
CertificateID is the certificate number, unique within the company.
getter/setter pair
companyLegends ↔ List<String>
CompanyLegends are the restrictive legends printed on the certificate.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the share id.
getter/setter pair
issueDate ↔ String?
IssueDate is the ISO date the certificate was issued.
getter/setter pair
pricePerShare ↔ num?
PricePerShare is the price paid per share, if recorded.
getter/setter pair
quantity ↔ int?
Quantity is how many shares the certificate covers.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shareClassId ↔ String?
ShareClassID is the class the shares belong to.
getter/setter pair
shareClassName ↔ String?
ShareClassName is that class's name.
getter/setter pair
shareClassType ↔ String?
ShareClassType is that class's type, COMMON or PREFERRED.
getter/setter pair
stakeholderId ↔ String?
StakeholderID is the holder of the certificate.
getter/setter pair
stakeholderName ↔ String?
StakeholderName is that holder's name.
getter/setter pair
status ↔ String?
Status is ACTIVE or DRAFT.
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) → CaptableShare?
Returns a new CaptableShare instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CaptableShare>
mapFromJson(dynamic json) → Map<String, CaptableShare>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CaptableShare>>

Constants

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