ContactDetail class
A way to get in touch: phone, website, email or social network.
- Annotations
Constructors
-
ContactDetail({String? label, String? value, List<
PlaceCategory> categories = const []}) -
Creates the contact.
const
-
ContactDetail.fromJson(Map<
String, dynamic> json) -
Reads the contact from the service response.
factory
Properties
-
categories
→ List<
PlaceCategory> -
Which part of the business it belongs to, when it has several.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
Human-readable label of the contact.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String?
-
The value: the number, the URL, the email address.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited