onEnable property

VoidCallback onEnable
final

A VoidCallback to run when the switch is enabled.

Implementation

final VoidCallback onEnable;