FlutterSafetyMobilePlatform constructor

FlutterSafetyMobilePlatform()

Factory constructor to return the singleton instance of the class. If the instance doesn't exist, it creates a new one.

Implementation

factory FlutterSafetyMobilePlatform() {
  _instance ??= FlutterSafetyMobilePlatform._internal();
  return _instance!;
}