appendCustomEntry method
Appends an application-defined record that stays out of model context.
Returns the new record id. The seal's writer class is the custom type
itself (custom:<type>) — the shell-job registry, the obligations
ledger, and steering each warn separately (gh-1589 UT-1).
Implementation
Future<String> appendCustomEntry({required String customType, Object? data}) {
return _append(
(id, parentId) => CustomRecord(
id: id,
parentId: parentId,
timestamp: DateTime.now(),
customType: customType,
data: data,
),
sealClass: 'custom:$customType',
);
}