asBytesConst property

List<int> get asBytesConst

Implementation

List<int> get asBytesConst {
  BytesUtils.areBytesValidConst(
    this,
    onValidationFailed:
        () =>
            throw ArgumentException.invalidOperationArguments(
              "asBytes",
              reason: "Invalid bytes.",
            ),
  );
  return this;
}