mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 19:14:42 +08:00
6
lib/utils/extension/get_ext.dart
Normal file
6
lib/utils/extension/get_ext.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
extension GetExt on GetInterface {
|
||||
S putOrFind<S>(InstanceBuilderCallback<S> dep, {String? tag}) =>
|
||||
GetInstance().putOrFind(dep, tag: tag);
|
||||
}
|
||||
Reference in New Issue
Block a user