PlaceCategory class

A place category from GET /sdk/v1/place-categories.

Constructors

PlaceCategory({required String key, required String label, String? parentKey, String? description, String? status, String? deprecatedFor, DateTime? updatedAt})
const
PlaceCategory.fromJson(Map<String, dynamic> json)
factory

Properties

deprecatedFor → String?
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
isActive → bool
no setter
key → String
final
label → String
final
parentKey → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchQuery → String
no setter
status → String?
final
updatedAt → DateTime?
final

Methods

matchesAny(Iterable<String> candidates) → bool
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

Static Methods

listFromJsonString(String source) → List<PlaceCategory>
listToJsonString(List<PlaceCategory> categories) → String
normalize(String value) → String