Company constructor
Creates a new Company instance with optional company information.
All parameters are optional and can be set individually or through the various put methods after construction.
Parameters:
name
- The company nameid
- The company identifierindustry
- The industry the company belongs to
Implementation
Company({String? name, String? id, String? industry}) {
if (name != null) {
companyMap["name"] = name;
}
if (id != null) {
companyMap["id"] = id;
}
if (industry != null) {
companyMap["industry"] = industry;
}
}