initialize method

Future<void> initialize({
  1. bool useFirebase = false,
})

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();
}