Skip to content

Commit af10732

Browse files
Merge pull request #28 from appwrite/dev
feat: update for 1.0.0-RC1
2 parents 9dc36de + 7f51932 commit af10732

27 files changed

+27
-27
lines changed

README.md

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

2424
```yml
2525
dependencies:
26-
dart_appwrite: ^7.0.0-dev.1
26+
dart_appwrite: ^7.0.0-dev.2
2727
```
2828
2929
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
@@ -33,7 +33,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
3333
'x-sdk-name': 'Dart',
3434
'x-sdk-platform': 'server',
3535
'x-sdk-language': 'dart',
36-
'x-sdk-version': '7.0.0-dev.1',
36+
'x-sdk-version': '7.0.0-dev.2',
3737
'X-Appwrite-Response-Format' : '1.0.0-RC1',
3838
};
3939

lib/src/client_io.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ClientIO extends ClientBase with ClientMixin {
4242
'x-sdk-name': 'Dart',
4343
'x-sdk-platform': 'server',
4444
'x-sdk-language': 'dart',
45-
'x-sdk-version': '7.0.0-dev.1',
45+
'x-sdk-version': '7.0.0-dev.2',
4646
'X-Appwrite-Response-Format' : '1.0.0-RC1',
4747
};
4848

lib/src/models/bucket_list.dart

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

lib/src/models/collection.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Collection implements Model {
6262
"enabled": enabled,
6363
"documentSecurity": documentSecurity,
6464
"attributes": attributes,
65-
"indexes": indexes.map((p) => p.toMap()),
65+
"indexes": indexes.map((p) => p.toMap()).toList(),
6666
};
6767
}
6868
}

lib/src/models/collection_list.dart

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

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/database_list.dart

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

0 commit comments

Comments
 (0)