Follow the documentation here. In your pubspec don't forget to add assets
property. My folder structure is
- /
- bin
- env_testing
- env_testing.dart
- env_testing
- env
- dev.env
- stag.env
- bin
So the path in assets would be
// https://stackoverflow.com/a/22333042/15149752 | |
import 'package:collection/collection.dart'; | |
List<String> otherList = ['foo', 'bar', 'baz']; | |
List<String> something = ['bar', 'baz', 'foo']; | |
void checkTwoListForEquality(List<String> firstList, List<String> secList) { | |
Function unOrdDeepEq = const DeepCollectionEquality.unordered().equals; |
Follow the documentation here. In your pubspec don't forget to add assets
property. My folder structure is
So the path in assets would be