TeamService constructor Null safety
Implementation
factory TeamService() {
if (_singleton == null) {
_singleton = TeamService._();
}
return _singleton!;
}
factory TeamService() {
if (_singleton == null) {
_singleton = TeamService._();
}
return _singleton!;
}