reInstance static method

void reInstance({
  1. String? host,
  2. String? tag,
})

Implementation

static void reInstance({
  String? host,
  String? tag,
}) {
  if (host != null) AnnouncementHelper.host = host;
  if (tag != null) AnnouncementHelper.tag = tag;
  _instance = AnnouncementHelper();
}