asString method

Future asString()

Get a string representation of this item.

If {@linkcode DataTransferItem.value} is an object, this returns the result of json stringifying {@linkcode DataTransferItem.value} value.

Implementation

_i2.Future<_i2.dynamic> asString() => _i5.promiseToFuture(_i5.callMethod(
      this,
      'asString',
      [],
    ));