--

It's a naming convention we use to call files with DI modules `di_module.dart`, but the class itself main responsibility is to provide Dio, so we called it DioModule. Maybe something like `NetworkModule` could be an even better name here.

--

--

Oleksandr Leushchenko
Oleksandr Leushchenko

Written by Oleksandr Leushchenko

Mobile developer, GDE in Dart&Flutter

No responses yet