Skip to content

Commit 0e1916c

Browse files
Merge pull request #87 from appwrite/dev
feat: update for 1.0.0-RC1
2 parents 91b9d02 + 31ee35f commit 0e1916c

17 files changed

+18
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
2121

2222
```yml
2323
dependencies:
24-
appwrite: ^8.0.0-dev.1
24+
appwrite: ^8.0.0-dev.2
2525
```
2626
2727
You can install packages from the command line:

lib/src/client_browser.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
4343
'x-sdk-name': 'Flutter',
4444
'x-sdk-platform': 'client',
4545
'x-sdk-language': 'flutter',
46-
'x-sdk-version': '8.0.0-dev.1',
46+
'x-sdk-version': '8.0.0-dev.2',
4747
'X-Appwrite-Response-Format' : '1.0.0-RC1',
4848
};
4949

lib/src/client_io.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ClientIO extends ClientBase with ClientMixin {
6464
'x-sdk-name': 'Flutter',
6565
'x-sdk-platform': 'client',
6666
'x-sdk-language': 'flutter',
67-
'x-sdk-version': '8.0.0-dev.1',
67+
'x-sdk-version': '8.0.0-dev.2',
6868
'X-Appwrite-Response-Format' : '1.0.0-RC1',
6969
};
7070

lib/src/models/continent_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ContinentList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"continents": continents.map((p) => p.toMap()),
25+
"continents": continents.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/country_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CountryList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"countries": countries.map((p) => p.toMap()),
25+
"countries": countries.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/currency_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CurrencyList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"currencies": currencies.map((p) => p.toMap()),
25+
"currencies": currencies.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/document_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DocumentList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"documents": documents.map((p) => p.toMap()),
25+
"documents": documents.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828

lib/src/models/execution_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ExecutionList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"executions": executions.map((p) => p.toMap()),
25+
"executions": executions.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/file_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FileList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"files": files.map((p) => p.toMap()),
25+
"files": files.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/language_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class LanguageList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"languages": languages.map((p) => p.toMap()),
25+
"languages": languages.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

0 commit comments

Comments
 (0)