/// Created by Capt. Michael @ CaptNotes.com on 02/17/2020.
class Singleton {
Singleton._();
static final _instance = Singleton._();
factory Singleton.getInstance() => _instance;
}
相关文章:
/// Created by Capt. Michael @ CaptNotes.com on 02/17/2020.
class Singleton {
Singleton._();
static final _instance = Singleton._();
factory Singleton.getInstance() => _instance;
}
相关文章: