BorshString class
String
An annotation for strings.
@BorshString()
final String property;
- Inheritance
-
- Object
- BorshAnnotation<
String> - BorshString
Constructors
- BorshString.new({int? lengthPadding, BufferEncoding? encoding})
-
Creates an annotation for a string.
const
Properties
- encoding → BufferEncoding?
-
The serialization encoding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lengthPadding → int?
-
The zero padding added to the end of the encoded length.
final
- 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