TeamService constructor Null safety

TeamService()

Implementation

factory TeamService() {
  if (_singleton == null) {
    _singleton = TeamService._();
  }
  return _singleton!;
}