tryFromBorshBase64 static method

Stake? tryFromBorshBase64(
  1. String? encoded
)
override

Creates an instance of this class from a base-64 encoded string.

Returns null if encoded is omitted.

Implementation

static Stake? tryFromBorshBase64(final String? encoded)
  => encoded != null ? Stake.fromBorshBase64(encoded) : null;