BoxReference class
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.kebab, explicitToJson: true)
Constructors
- BoxReference({required int appIndex, required Uint8List name})
-
BoxReference.fromJson(Map<
String, dynamic> json) -
factory
Properties
- appIndex → int
-
The app ID of the app this box belongs to.
Instead of serializing this value, it's used to calculate the appIdx for
AppBoxReference.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → Uint8List
-
the name of the box unique to the app it belongs to
final
- nameB64 → String
-
Get the name, represented as base64.
no setter
- nameText → String
-
Get the name, represented as utf8.
no setter
- 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
-
toJson(
) → Map< String, dynamic> -
toMessagePack(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromAppBoxReference(
AppBoxReference box, List< int> ? foreignApps, int? currentApp) → BoxReference
Constants
- FOREIGN_APPS_INDEX_OFFSET → const int
- NEW_APP_ID → const int