toDartString method

String toDartString({
  1. bool zeroTerminated = false,
})

Converts the pointer to a dart string using the utf8 encoding.

This is simply a shortcut to Int8ListX.toDartString, which is called on the result of asList.

Implementation

String toDartString({bool zeroTerminated = false}) =>
    asList().toDartString(zeroTerminated: zeroTerminated);