StorageEntryMetadata class
Metadata about one storage entry.
Constructors
-
StorageEntryMetadata({required String name, required StorageEntryModifier modifier, required StorageEntryType type, required List<
int> defaultValue, required List<String> docs}) -
const
-
StorageEntryMetadata.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
defaultValue
→ List<
int> -
Default value (SCALE encoded).
final
-
docs
→ List<
String> -
Storage entry documentation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- modifier → StorageEntryModifier
-
An
Option
modifier of that storage entry.final - name → String
-
Variable name of the storage entry.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → StorageEntryType
-
Type of the value stored in the entry.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- codec → const $StorageEntryMetadataCodec