how to mock environment flutter test code example
Example 1: test reports in unit tests flutter
flutter test --machine | tojunit --output <Your output file>.xml
Example 2: test reports in unit tests flutter
flutter pub getflutter pub global activate junitreport