NSText class

Opaque byte payload for entity properties that are too large to index.

Use NSText with NSEntity.setProperty for payloads up to 1 MiB. Plain String values remain indexed string properties with a smaller limit.

Constructors

NSText(String value)
Creates an NSText property from a UTF-8 string.
NSText.bytes(List<int> bytes)
Creates an NSText property from raw bytes (may contain embedded NUL bytes).

Properties

bytes → Uint8List
The raw payload bytes stored in the database.
final
hashCode → int
The hash code for this object.
no setteroverride
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
Decodes bytes as UTF-8 for display and debugging.
override

Operators

operator ==(Object other) → bool
The equality operator.
override