durationFromSecs method

EfkDuration durationFromSecs(
  1. int secs
)

Implementation

EfkDuration durationFromSecs(
  int secs,
) {
  final tmp0 = secs;
  var tmp1 = 0;
  tmp1 = tmp0;
  final tmp2 = _durationFromSecs(
    tmp1,
  );
  final tmp4 = tmp2;
  final ffi.Pointer<ffi.Void> tmp4_0 = ffi.Pointer.fromAddress(tmp4);
  final tmp4_1 = _Box(this, tmp4_0, "drop_box_EfkDuration");
  tmp4_1._finalizer = this._registerFinalizer(tmp4_1);
  final tmp3 = EfkDuration._(this, tmp4_1);
  return tmp3;
}