instance static method
BusyService
instance({
- @Deprecated('Use BusyService.initialise instead') BusyType? defaultBusyType,
Returns an instance of BusyService and sets the default BusyType if provided.
Implementation
static BusyService instance({
@Deprecated('Use BusyService.initialise instead') BusyType? defaultBusyType,
}) {
if (defaultBusyType != null) {
_busyTypeDefault = defaultBusyType;
}
return _instance ??= BusyService._();
}