getTeamsAsFlow

Converts the network response for teams into a Flow.

This function calls the getTeams method of TeamApiService and emits the resulting data as a flow. If an exception occurs, it logs the error and continues emitting the flow without data.

Return

A Flow of List of ApiTeam that emits the list of teams.