spawn<S> method
Creates and manages a background isolate dependency.
The permanent
flag determines whether the instance will persist permanently.
Implementation
void spawn<S>(InstanceBuilderCallback<S> builder,
{String? tag, bool permanent = true}) {
Get.spawn<S>(builder, tag: tag, permanent: permanent);
}