Skip to content

Commit d99bbf0

Browse files
committed
chore: migrate to csv 7.1.0
1 parent 32bc696 commit d99bbf0

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

lib/android.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ Future<Map<String, Map>> requestAndroidIdentifiers(String target) async {
2222
List<List<dynamic>> decode(http.Response response) {
2323
final utf16Bytes = response.bodyBytes.buffer.asUint16List();
2424
final responseString = String.fromCharCodes(utf16Bytes);
25-
final List<List<dynamic>> decodedResponse =
26-
const CsvToListConverter().convert(
27-
responseString,
28-
eol: '\n',
29-
);
30-
return decodedResponse;
25+
return csv.decode(responseString);
3126
}
3227

3328
void removeHeader(List<List<dynamic>> list) => list.removeAt(0);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ environment:
66

77
dependencies:
88
http: ^1.4.0
9-
csv: ^6.0.0
9+
csv: ^7.1.0
1010
lints: ">=5.1.1 <7.0.0"
1111

1212
dev_dependencies:

0 commit comments

Comments
 (0)