BorshOption<T> constructor

const BorshOption<T>(
  1. BorshAnnotation<T> subtype, [
  2. BorshOptionType? type
])

Creates an annotation for an optional value.

Implementation

const BorshOption(
  super.subtype, [
  super.type,
]);