From ab494e3c14368958ed69df02fe640a4ef7faada7 Mon Sep 17 00:00:00 2001 From: Craftplacer <22963120+Craftplacer@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:01:54 +0100 Subject: [PATCH] Format :) --- packages/sane/lib/src/sane.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sane/lib/src/sane.dart b/packages/sane/lib/src/sane.dart index bc20195..420dd94 100644 --- a/packages/sane/lib/src/sane.dart +++ b/packages/sane/lib/src/sane.dart @@ -14,10 +14,10 @@ import 'package:sane/src/utils.dart'; typedef AuthCallback = SaneCredentials Function(String resourceName); class Sane { - factory Sane() => _instance ??= Sane._(); Sane._(); + static Sane? _instance; bool _exited = false; final Map _nativeHandles = {};