findOrPutAsync<S> method
Once bakar yoksa koyar
Implementation
Future<S> findOrPutAsync<S>({required Future<S> Function() createFunction, String? tag, bool permanent = false}) async {
if (Get.isRegistered<S>(tag: tag)) return Get.find<S>(tag: tag);
return Get.putAsync<S>(createFunction, tag: tag, permanent: permanent);
}