Category class

Holds information about a category associated to an entry or feed

Constructors

Category({required String label, String? term, String? scheme, String? value})
Creates a new Category object

Properties

hashCode int
The hash code for this object.
no setterinherited
label String
Provides a human-readable label for display in end-user applications
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme String?
Is an IRI that identifies a categorization scheme
getter/setter pair
term String?
Identifies the category to which the entry or feed belongs to
getter/setter pair
value String?
The text inside the tag
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromXml(XmlElement node) Category?
Creates a new category object from an XmlElement
loadTags(XmlElement node, {String? defaultScheme}) List<Category>?
Helper function to create a List of categories from an string separated by commas