TimerAPI constructor
TimerAPI({})
Implementation
factory TimerAPI({
_i2.num? remaining,
_i2.num? total,
_i3.State? state,
void Function()? pause,
void Function()? resume,
void Function(_i2.num)? start,
void Function()? stop,
}) =>
TimerAPI._(
remaining: remaining,
total: total,
state: state?.name ?? _i7.undefined,
pause: pause == null ? null : _i5.allowInterop(pause),
resume: resume == null ? null : _i5.allowInterop(resume),
start: start == null ? null : _i5.allowInterop(start),
stop: stop == null ? null : _i5.allowInterop(stop),
);