Category class

A category describing what this business is (not what it does).

For a list of valid category IDs, and the mappings to their human-readable names, see categories.list.

Constructors

Category({String? displayName, List<MoreHoursType>? moreHoursTypes, String? name, List<ServiceType>? serviceTypes})
Category.fromJson(Map json_)

Properties

displayName String?
The human-readable name of the category.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
moreHoursTypes List<MoreHoursType>?
More hours types that are available for this business category.
getter/setter pair
name String?
A stable ID (provided by Google) for this category.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceTypes List<ServiceType>?
A list of all the service types that are available for this business category.
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited