NSText constructor

NSText(
  1. String value
)

Creates an NSText property from a UTF-8 string.

Implementation

NSText(String value) : bytes = Uint8List.fromList(utf8.encode(value));