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