TransferResultInfo constructor

TransferResultInfo({
  1. int? resultCode,
  2. ByteBuffer? data,
})

Implementation

TransferResultInfo({
  /// A value of `0` indicates that the transfer was a success.
  /// Other values indicate failure.
  int? resultCode,

  /// The data returned by an input transfer. `undefined` for output
  /// transfers.
  ByteBuffer? data,
}) : _wrapped = $js.TransferResultInfo(
        resultCode: resultCode,
        data: data?.toJS,
      );