StringOption.parse constructor

StringOption.parse(
  1. OptionType type,
  2. Uint8Buffer? bytes
)

Implementation

StringOption.parse(this.type, final Uint8Buffer? bytes)
    : byteValue = Uint8Buffer()..addAll(bytes ?? []);