initialize method
Implementation
Future<void> initialize({
bool useFirebase = false,
}) async {
this.useFirebase = useFirebase;
// We should get the device info before initializing the platform.
deviceInfo = await DeviceInfo.getDeviceInfo();
}