isInitialized top-level property
Registers the correct platform_interface for the current platform.
Until flutter is able to do this automatically, this has to be done manually. See the workarounds folder for more details!
Implementation
bool isInitialized = false;