LockupArgs class
Lockup Args
Constructors
-
LockupArgs({i64? unixTimestamp, i64? epoch, String? custodian})
-
Stake account lockup arguments.
const
-
LockupArgs.fromJson(Map<String, dynamic> json)
-
Creates an instance of
this
class from the constructor parameters defined in the json
object.
factory
Methods
-
borshSize()
→ int
-
Returns the serialized byte length of
this
instance.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toBorsh()
→ Iterable<int>
-
Serializes
this
instance into a buffer.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serialises
this
class into a JSON object.
override
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
tryFromJson(Map<String, dynamic>? json)
→ LockupArgs?
-
Creates an instance of
this
class from the constructor parameters defined in the json
object.
override