tryFromBorsh static method

Stake? tryFromBorsh(
  1. Iterable<int>? buffer
)
override

Creates an instance of this class from a buffer.

Returns null if buffer is omitted.

Implementation

static Stake? tryFromBorsh(final Iterable<int>? buffer)
  => buffer != null ? Stake.fromBorsh(buffer) : null;