NSText.bytes constructor

NSText.bytes(
  1. List<int> bytes
)

Creates an NSText property from raw bytes (may contain embedded NUL bytes).

Implementation

NSText.bytes(List<int> bytes) : bytes = Uint8List.fromList(bytes);