Skip to content

Commit 864c886

Browse files
committed
Fix color fromJson method #30
1 parent cb4af5a commit 864c886

File tree

8 files changed

+28
-8
lines changed

8 files changed

+28
-8
lines changed

packages/google_vision/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.0.0+6
4+
5+
* Fix color fromJson method #30
6+
37
## 2.0.0+5
48

59
* dependency bump

packages/google_vision/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ To use this package, add the dependency to your `pubspec.yaml` file:
6767
```yaml
6868
dependencies:
6969
...
70-
google_vision: ^2.0.0+5
70+
google_vision: ^2.0.0+6
7171
```
7272
7373
### Obtaining Authentication/Authorization Credentials
@@ -177,6 +177,7 @@ Please see the cli documentation [README.md](https://github.com/faithoflifedev/g
177177
- [DeadBryam](https://github.com/DeadBryam)
178178
- [husitawi](https://github.com/husitawi)
179179
- [EricApostal](https://github.com/EricApostal)
180+
- [trullse](https://github.com/trullse)
180181

181182
## Contributing
182183

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/// app metadata
22
library;
3+
34
// DO NOT EDIT THIS FILE
45
// THIS FILE IS AUTOMATICALLY OVER WRITTEN BY PublishTools
56
import 'dart:convert' show json;
67

7-
final pubSpec = json.decode('{description: Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications., homepage: https://github.com/faithoflifedev/google_vision/tree/main/packages/google_vision, documentation: null, repository: https://github.com/faithoflifedev/google_vision, issueTracker: null, name: google_vision, publish_to: null, version: 2.0.0+5}');
8+
final pubSpec = json.decode(
9+
'{description: Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications., homepage: https://github.com/faithoflifedev/google_vision/tree/main/packages/google_vision, documentation: null, repository: https://github.com/faithoflifedev/google_vision, issueTracker: null, name: google_vision, publish_to: null, version: 2.0.0+6}');

packages/google_vision/lib/src/provider/files.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ part 'files.g.dart';
1212
/// file provided and perform detection and annotation for each image extracted.
1313
@RestApi(baseUrl: 'https://vision.googleapis.com/v1')
1414
abstract class FilesClient {
15-
factory FilesClient(Dio dio, {String baseUrl}) = _FilesClient;
15+
factory FilesClient(
16+
Dio dio, {
17+
String baseUrl,
18+
ParseErrorLogger? errorLogger,
19+
}) = _FilesClient;
1620

1721
/// Run image detection and annotation for a batch of images.
1822
@POST('/files:annotate')

packages/google_vision/lib/src/provider/images.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ part 'images.g.dart';
99
/// explicit content, into applications.
1010
@RestApi(baseUrl: 'https://vision.googleapis.com/v1')
1111
abstract class ImagesClient {
12-
factory ImagesClient(Dio dio, {String baseUrl}) = _ImagesClient;
12+
factory ImagesClient(
13+
Dio dio, {
14+
String baseUrl,
15+
ParseErrorLogger? errorLogger,
16+
}) = _ImagesClient;
1317

1418
/// Run image detection and annotation for a batch of images.
1519

packages/google_vision/lib/src/provider/oauth.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ part 'oauth.g.dart';
66

77
@RestApi(baseUrl: 'https://accounts.google.com/o/oauth2')
88
abstract class OAuthClient {
9-
factory OAuthClient(Dio dio, {String baseUrl}) = _OAuthClient;
9+
factory OAuthClient(
10+
Dio dio, {
11+
String baseUrl,
12+
ParseErrorLogger? errorLogger,
13+
}) = _OAuthClient;
1014

1115
@POST('/token')
1216
@Headers(

packages/google_vision/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: google_vision
22
description: Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications.
3-
version: 2.0.0+5
3+
version: 2.0.0+6
44
repository: https://github.com/faithoflifedev/google_vision
55
homepage: https://github.com/faithoflifedev/google_vision/tree/main/packages/google_vision
66

@@ -16,13 +16,13 @@ environment:
1616
sdk: ">=3.2.0 <4.0.0"
1717

1818
dependencies:
19-
args: ^2.6.0
19+
args: ^2.7.0
2020
collection: ^1.18.0
2121
crypto_keys_plus: ^0.4.0
2222
dio: ^5.8.0+1
2323
flutter_loggy_dio: ^3.1.0
2424
http: ^1.3.0
25-
image: ^4.5.3
25+
image: ^4.5.4
2626
jose_plus: ^0.4.6
2727
json_annotation: ^4.9.0
2828
loggy: ^2.0.3

packages/google_vision/tool/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ Please see the cli documentation [README.md](https://github.com/faithoflifedev/g
177177
- [DeadBryam](https://github.com/DeadBryam)
178178
- [husitawi](https://github.com/husitawi)
179179
- [EricApostal](https://github.com/EricApostal)
180+
- [trullse](https://github.com/trullse)
180181

181182
## Contributing
182183

0 commit comments

Comments
 (0)