ProgramApplication class

Constructors

ProgramApplication({String? company, String? companyId, String? contactId, String? contactName, int? createdAt, String? email, List<StageEvent> events = const [], String? id, Map<String, Object> metadata = const {}, String? reason, String? role, ScreenResult? screen, String? stage, bool? tier1, int? updatedAt, String? website})
Returns a new ProgramApplication instance.

Properties

company ↔ String?
Company is the applicant's company name.
getter/setter pair
companyId ↔ String?
CompanyID is the CRM Company minted for this lead at intake, so the startup also appears in the org's standard CRM tabs. Empty when that best-effort projection did not run.
getter/setter pair
contactId ↔ String?
ContactID is the CRM Contact minted for this lead at intake. Empty when that best-effort projection did not run.
getter/setter pair
contactName ↔ String?
ContactName is the person who applied.
getter/setter pair
createdAt ↔ int?
CreatedAt is the unix second the application arrived. Server-owned.
getter/setter pair
email ↔ String?
Email is the applicant's email — half of the (email, company) key a resubmission refreshes instead of duplicating.
getter/setter pair
events ↔ List<StageEvent>
Events is the append-only stage-transition log, oldest first.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the server-minted application id ("appl_" + 128 random bits).
getter/setter pair
metadata ↔ Map<String, Object>
Metadata is the FULL submitted form, every field, including the arrays the promoted columns above do not carry (tier1Investors, useCases) and the deterministic tier1Matched list.
getter/setter pair
reason ↔ String?
Reason is why the application was rejected, required to reject. Empty otherwise.
getter/setter pair
role ↔ String?
Role is the applicant's role at their company.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screen ↔ ScreenResult?
Screen is the AI screen. It runs after intake, so a freshly created application carries a "pending" screen.
getter/setter pair
stage ↔ String?
Stage is the pipeline stage: applied, screened, qualified, credits-offered, onboarded or rejected. Server-owned — it starts at "applied" and moves only through the transition machine.
getter/setter pair
tier1 ↔ bool?
Tier1 is whether the applicant is tier-1 backed, derived deterministically at intake from the submitted fund list — independent of the AI screen.
getter/setter pair
updatedAt ↔ int?
UpdatedAt is the unix second of the last write. Server-owned.
getter/setter pair
website ↔ String?
Website is the applicant's website as submitted.
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) → ProgramApplication?
Returns a new ProgramApplication instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ProgramApplication>
mapFromJson(dynamic json) → Map<String, ProgramApplication>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ProgramApplication>>

Constants

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