Properties class

Convenience builders for the Capacities property-value discriminated union, e.g. {'type': 'title', 'title': {'value': 'New object'}}.

Only covers property types confirmed against a live workspace during e2e verification (title, text, url, richText, label, entity). Other types (boolean, number, date, icon, aliases, createdAt) are unverified and left to hand-built maps — see capacities-object-api's spec.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

entity(List<String> ids) Map<String, dynamic>
label(List<String> ids) Map<String, dynamic>
richText(List<Map<String, dynamic>> tokens) Map<String, dynamic>
text(String value) Map<String, dynamic>
title(String value) Map<String, dynamic>
url(String value) Map<String, dynamic>