file method

void file(
  1. FileCallback successCallback, [
  2. ErrorCallback? errorCallback
])

Implementation

void file(FileCallback successCallback, [ErrorCallback? errorCallback]) =>
    js_util.callMethod(this, 'file', [
      allowInterop(successCallback),
      errorCallback == null ? null : allowInterop(errorCallback)
    ]);