toBytes abstract method

Uint8List toBytes()

Convenience method that will create a new Builder, finishes the data, and returns the buffer as a Uint8List of bytes.

Implementation

Uint8List toBytes();