CaptableStakeholder class

Constructors

CaptableStakeholder({String? city, String? companyName, String? country, int? createdAt, String? currentRelationship, String? email, String? id, String? institutionName, String? name, String? stakeholderType, String? state, String? streetAddress, String? taxId, String? zipcode})
Returns a new CaptableStakeholder instance.

Properties

city ↔ String?
City is the stakeholder's city, if recorded.
getter/setter pair
companyName ↔ String?
CompanyName is the name of the company whose cap table this is.
getter/setter pair
country ↔ String?
Country is the stakeholder's two-letter country code.
getter/setter pair
createdAt ↔ int?
CreatedAt is when the stakeholder was added, in unix milliseconds.
getter/setter pair
currentRelationship ↔ String?
CurrentRelationship is how the stakeholder relates to the company, e.g. FOUNDER, INVESTOR or EMPLOYEE.
getter/setter pair
email ↔ String?
Email is the stakeholder's email, unique within the company.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the stakeholder id.
getter/setter pair
institutionName ↔ String?
InstitutionName names the institution, when the stakeholder is one.
getter/setter pair
name ↔ String?
Name is the stakeholder's full name.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stakeholderType ↔ String?
StakeholderType is INDIVIDUAL or INSTITUTION.
getter/setter pair
state ↔ String?
State is the stakeholder's state or province, if recorded.
getter/setter pair
streetAddress ↔ String?
StreetAddress is the stakeholder's street address, if recorded.
getter/setter pair
taxId ↔ String?
TaxID is the stakeholder's tax identifier, if recorded.
getter/setter pair
zipcode ↔ String?
Zipcode is the stakeholder's postal code, if recorded.
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) → CaptableStakeholder?
Returns a new CaptableStakeholder instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CaptableStakeholder>
mapFromJson(dynamic json) → Map<String, CaptableStakeholder>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CaptableStakeholder>>

Constants

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