1. Dart
2. dart:typed_data
3. BytesBuilder
4. toBytes abstract method

##### BytesBuilder class

1. Constructors
2. BytesBuilder
3. Properties
4. hashCode
5. isEmpty
6. isNotEmpty
7. length
8. runtimeType
9. Methods
10. add
11. addByte
12. clear
13. noSuchMethod
14. takeBytes
15. toBytes
16. toString
17. Operators
18. operator ==

description

# toBytes method Null safety

Uint8List toBytes ()

Returns a copy of the current byte contents of this builder.

Leaves the contents of this builder intact.

## Implementation

    Uint8List toBytes();