SingleNotify.dart 247 Bytes
Newer Older
林生雨's avatar
林生雨 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
 * @author lsy
 * @date   2020/6/4
 **/
class SingleNotify {
  static SingleNotify _notify;

  static SingleNotify instance() {
    if (_notify == null) {
      _notify = SingleNotify._();
    }
    return _notify;
  }

  SingleNotify._() {}
}