SingletonAsync constructor
Creates a SingletonAsync annotation.
lazy: whentrue(the default) the instance is created on first access; whenfalseit is created at module construction time.weak: whentruethe instance may be garbage-collected when no strong references remain.
Implementation
const SingletonAsync({super.lazy = true, super.weak = false}) : super(singleton: true, async: true);