ContactPoint class
Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.
- Annotations
-
- @freezed
Constructors
- ContactPoint({@JsonKey(name: 'ID') String? id, @JsonKey(name: 'System', unknownEnumValue: ContactPointSystemEnum.phone) ContactPointSystemEnum? system, @JsonKey(name: 'Value') String? value, @JsonKey(name: 'Use', unknownEnumValue: ContactPointUseEnum.mobile) ContactPointUseEnum? use, @JsonKey(name: 'Rank') int? rank, @JsonKey(name: 'Period') Period? period})
-
factory
-
ContactPoint.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $ContactPointCopyWith<
ContactPoint> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- period → Period?
-
Time period when the contact point was/is in use
no setterinherited
- rank → int?
-
Specifies a preferred order in which to use a set of contacts.
ContactPoints with lower rank values are more preferred than those with higher rank values.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- system → ContactPointSystemEnum?
-
no setterinherited
- use → ContactPointUseEnum?
-
Identifies the purpose for the contact point.
no setterinherited
- value → String?
-
The actual contact point details, in a form that is meaningful to the
designated communication system (i.e. phone number or email address).
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited