truncate method

Future<void> truncate(
  1. int size
)

Implementation

Future<void> truncate(int size) =>
    js_util.promiseToFuture(js_util.callMethod(this, 'truncate', [size]));