Question:
This is the code i use to check for internet connectivity in flutterAnswer:
So, when looking through the library’s code, I see that they initially always send a status update. A simple workaround would be to have a counter variable that increments every time you receive a status change event. If the counter variable has its default value, you know you received the initial event.If you have better answer, please add a comment about this, thank you!