Organization class
The organization the contact belongs to.
Once created, no properties of an Organization object may be changed.
- Annotations
-
- @immutable
Constructors
- Organization({String? company, String? department, String? jobTitle})
-
Constructs an Organization instance
const
- Organization.fromJson(String json)
-
Constructs an Organization instance from a
json
string.factory -
Organization.fromMap(Map<
String, dynamic> map) -
Constructs an Organization instance from a
map
.
Properties
- company → String?
-
The company.
final
- department → String?
-
The department.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- jobTitle → String?
-
The job title.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? company, String? department, String? jobTitle}) → Organization - Creates a copy of this Organization instance but with the given fields replaced with the new values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Creates a JSON string representing this Organization instance.
-
toMap(
) → Map< String, dynamic> - Creates a Map<String, dynamic> representing this Organization instance.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant Organization other) → bool -
The equality operator.
override