LockupCheckedArgs class
Lockup Checked Args
- Inheritance
-
- Object
- BorshObject
- LockupCheckedArgs
Constructors
- LockupCheckedArgs({i64? unixTimestamp, i64? epoch})
-
Stake account lockup arguments.
const
-
LockupCheckedArgs.fromJson(Map<
String, dynamic> json) -
Creates an instance of
thisclass from the constructor parameters defined in thejsonobject.factory
Properties
- borshSchema → BorshSchema
-
Maps
thisclass' properties to codecs.no setteroverride - epoch → i64?
-
Epoch of lockup expiration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unixTimestamp → i64?
-
Unix timestamp of lockup expiration.
final
Methods
-
borshSize(
) → int -
Returns the serialized byte length of
thisinstance.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBorsh(
) → Iterable< int> -
Serializes
thisinstance into a buffer.inherited -
toJson(
) → Map< String, dynamic> -
Serialises
thisclass into a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- codec → BorshStructSizedCodec
-
The encoders/decoders of
thisclass' properties.no setter
Static Methods
-
tryFromJson(
Map< String, dynamic> ? json) → LockupCheckedArgs? -
Creates an instance of
thisclass from the constructor parameters defined in thejsonobject.override