onSleep property

void Function(SleepType type)? onSleep
final

休眠事件

Implementation

final void Function(SleepType type)? onSleep;