Header class
Header class
Constructors
- Header.new({required BlockContent content, required String signature, required String contentCreatorPubKey, required String contentCreatorAddress, required String id})
-
Header.decode(Map<
String, dynamic> json) - Decode header
Properties
- content ↔ BlockContent
-
latefinal
- contentCreatorAddress ↔ String
-
latefinal
- contentCreatorPubKey ↔ String
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature ↔ String
-
latefinal
Methods
-
encode(
) → Map< String, dynamic> - Encode header
-
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