Skip to content

Commit ca22081

Browse files
committed
Delete api updated for customers
1 parent 4028465 commit ca22081

File tree

4 files changed

+27
-23
lines changed

4 files changed

+27
-23
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\device_info-0.4.2+10\\\\","dependencies":[]},{"name":"shared_preferences","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"android":[{"name":"device_info","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\device_info-0.4.2+10\\\\","dependencies":[]},{"name":"shared_preferences","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"macos":[{"name":"shared_preferences_macos","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_macos-0.0.1+6\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-0.0.2+4\\\\","dependencies":["path_provider_linux"]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-0.0.4+3\\\\","dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-0.0.1+3\\\\","dependencies":["path_provider_windows"]}],"web":[{"name":"shared_preferences_web","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-0.1.2+4\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"device_info","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2020-11-08 21:26:11.425739","version":"1.22.2"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"device_info","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\device_info-0.4.2+10\\\\","dependencies":[]},{"name":"shared_preferences","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"android":[{"name":"device_info","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\device_info-0.4.2+10\\\\","dependencies":[]},{"name":"shared_preferences","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]}],"macos":[{"name":"shared_preferences_macos","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_macos-0.0.1+6\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_linux-0.0.2+4\\\\","dependencies":["path_provider_linux"]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-0.0.4+3\\\\","dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_windows-0.0.1+3\\\\","dependencies":["path_provider_windows"]}],"web":[{"name":"shared_preferences_web","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\shared_preferences_web-0.1.2+4\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"device_info","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2020-11-17 00:06:35.498434","version":"1.20.1"}

example/android/local.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sdk.dir=C:\\Users\\ahmad\\AppData\\Local\\Android\\Sdk
1+
sdk.dir=C:\\Users\\Hp\\AppData\\Local\\Android\\Sdk
22
flutter.sdk=C:\\src\\flutter
33
flutter.buildMode=debug

example/pubspec.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,42 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0-nullsafety.1"
10+
version: "2.4.2"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "2.1.0-nullsafety.1"
17+
version: "2.0.0"
1818
characters:
1919
dependency: transitive
2020
description:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.1.0-nullsafety.3"
24+
version: "1.0.0"
2525
charcode:
2626
dependency: transitive
2727
description:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0-nullsafety.1"
31+
version: "1.1.3"
3232
clock:
3333
dependency: transitive
3434
description:
3535
name: clock
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "1.1.0-nullsafety.1"
38+
version: "1.0.1"
3939
collection:
4040
dependency: transitive
4141
description:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.15.0-nullsafety.3"
45+
version: "1.14.13"
4646
convert:
4747
dependency: transitive
4848
description:
@@ -84,7 +84,7 @@ packages:
8484
name: fake_async
8585
url: "https://pub.dartlang.org"
8686
source: hosted
87-
version: "1.2.0-nullsafety.1"
87+
version: "1.1.0"
8888
ffi:
8989
dependency: transitive
9090
description:
@@ -134,21 +134,21 @@ packages:
134134
name: matcher
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "0.12.10-nullsafety.1"
137+
version: "0.12.8"
138138
meta:
139139
dependency: transitive
140140
description:
141141
name: meta
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "1.3.0-nullsafety.3"
144+
version: "1.1.8"
145145
path:
146146
dependency: transitive
147147
description:
148148
name: path
149149
url: "https://pub.dartlang.org"
150150
source: hosted
151-
version: "1.8.0-nullsafety.1"
151+
version: "1.7.0"
152152
path_provider_linux:
153153
dependency: transitive
154154
description:
@@ -244,49 +244,49 @@ packages:
244244
name: source_span
245245
url: "https://pub.dartlang.org"
246246
source: hosted
247-
version: "1.8.0-nullsafety.2"
247+
version: "1.7.0"
248248
stack_trace:
249249
dependency: transitive
250250
description:
251251
name: stack_trace
252252
url: "https://pub.dartlang.org"
253253
source: hosted
254-
version: "1.10.0-nullsafety.1"
254+
version: "1.9.5"
255255
stream_channel:
256256
dependency: transitive
257257
description:
258258
name: stream_channel
259259
url: "https://pub.dartlang.org"
260260
source: hosted
261-
version: "2.1.0-nullsafety.1"
261+
version: "2.0.0"
262262
string_scanner:
263263
dependency: transitive
264264
description:
265265
name: string_scanner
266266
url: "https://pub.dartlang.org"
267267
source: hosted
268-
version: "1.1.0-nullsafety.1"
268+
version: "1.0.5"
269269
term_glyph:
270270
dependency: transitive
271271
description:
272272
name: term_glyph
273273
url: "https://pub.dartlang.org"
274274
source: hosted
275-
version: "1.2.0-nullsafety.1"
275+
version: "1.1.0"
276276
test_api:
277277
dependency: transitive
278278
description:
279279
name: test_api
280280
url: "https://pub.dartlang.org"
281281
source: hosted
282-
version: "0.2.19-nullsafety.2"
282+
version: "0.2.17"
283283
typed_data:
284284
dependency: transitive
285285
description:
286286
name: typed_data
287287
url: "https://pub.dartlang.org"
288288
source: hosted
289-
version: "1.3.0-nullsafety.3"
289+
version: "1.2.0"
290290
uuid:
291291
dependency: transitive
292292
description:
@@ -300,7 +300,7 @@ packages:
300300
name: vector_math
301301
url: "https://pub.dartlang.org"
302302
source: hosted
303-
version: "2.1.0-nullsafety.3"
303+
version: "2.0.8"
304304
win32:
305305
dependency: transitive
306306
description:
@@ -321,7 +321,7 @@ packages:
321321
name: xdg_directories
322322
url: "https://pub.dartlang.org"
323323
source: hosted
324-
version: "0.1.2"
324+
version: "0.1.0"
325325
sdks:
326-
dart: ">=2.10.0-110 <2.11.0"
326+
dart: ">=2.9.0-14.0.dev <3.0.0"
327327
flutter: ">=1.12.13+hotfix.5 <2.0.0"

lib/woosignal.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,11 @@ class WooSignal {
799799

800800
// Delete a customer
801801
// This API helps you delete a customer.
802-
Future<Customers> deleteCustomer(int id, {Map<String, dynamic> data}) async {
802+
Future<Customers> deleteCustomer(
803+
int id,
804+
) async {
805+
Map<String, dynamic> data;
806+
data = {'force': true};
803807
Map<String, dynamic> payload = data;
804808

805809
_printLog(payload.toString());

0 commit comments

Comments
 (0)