tryFromBorsh static method

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

Creates an instance of this class from a buffer.

Returns null if buffer is omitted.

Implementation

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