instance static method

ChatApp? instance()

Implementation

static ChatApp? instance() {
  _instance ??= ChatApp._();
  return _instance;
}