tryRemoveSplash function
Function that will be called on unsupported platforms, triggering exception.
Implementation
Future<void> tryRemoveSplash() async {
throw UnsupportedError(
'This package requires dart:io, which is unsupported by this platform.');
}