thyi_generator 1.1.1

  • Readme
  • Changelog
  • Installing
  • 39

The Thyi generator lib. The usage please see the package thyi.

1.1.0 #

  • query, field, header auto convert to string.

1.0.6 #

  • try fix import issue.

1.0.5 #

  • Fix option param issue.

1.0.4 #

  • Fix _extraAnnotaion bug.

1.0.2 #

  • Fix @HEADER and so on issue.

1.0.1 #

  • Change the genrate class name. Foo__thyiImpl -> Foo_thyiImpl

1.0.0 #

  • Initial version, created by th

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  thyi_generator: ^1.1.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:thyi_generator/thyi_generator.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
45
Overall:
Weighted score of the above. [more]
39
Learn more about scoring.

We analyzed this package on Jul 2, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.9+1

Analysis suggestions

Package not compatible with SDK flutter

Because it is not compatible with any of the supported runtimes: flutter-native, flutter-web

Package not compatible with runtime flutter-native of android

Because of the import of dart:mirrors via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:source_gen/source_gen.dart->package:source_gen/src/type_checker.dart->dart:mirrors

Package not compatible with runtime flutter-native of ios

Because of the import of dart:mirrors via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:source_gen/source_gen.dart->package:source_gen/src/type_checker.dart->dart:mirrors

Package not compatible with runtime flutter-native of linux

Because of the import of dart:mirrors via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:source_gen/source_gen.dart->package:source_gen/src/type_checker.dart->dart:mirrors

Package not compatible with runtime flutter-native of macos

Because of the import of dart:mirrors via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:source_gen/source_gen.dart->package:source_gen/src/type_checker.dart->dart:mirrors

Package not compatible with runtime flutter-native of windows

Because of the import of dart:mirrors via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:source_gen/source_gen.dart->package:source_gen/src/type_checker.dart->dart:mirrors

Package not compatible with runtime flutter-web of web

Because of the import of dart:io via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:thyi/thyi.dart->package:thyi/src/thyi.dart->package:dio_cookie_manager/dio_cookie_manager.dart->package:dio_cookie_manager/src/cookie_mgr.dart->package:cookie_jar/cookie_jar.dart->package:cookie_jar/src/serializable_cookie.dart->dart:io

Package not compatible with runtime native-aot

Because of the import of dart:mirrors via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:source_gen/source_gen.dart->package:source_gen/src/type_checker.dart->dart:mirrors

Package not compatible with runtime web

Because of the import of dart:io via the import chain package:thyi_generator/thyi_generator.dart->package:thyi_generator/src/thyi_generator.dart->package:thyi/thyi.dart->package:thyi/src/thyi.dart->package:dio_cookie_manager/dio_cookie_manager.dart->package:dio_cookie_manager/src/cookie_mgr.dart->package:cookie_jar/cookie_jar.dart->package:cookie_jar/src/serializable_cookie.dart->dart:io

Health issues and suggestions

Document public APIs. (-1 points)

2 out of 2 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/src/thyi_generator.dart. (-0.50 points)

Analysis of lib/src/thyi_generator.dart reported 1 hint:

line 240 col 32: 'name' is deprecated and shouldn't be used. Check element, or use getDisplayString().

Format lib/thyi_generator.dart.

Run dartfmt to format lib/thyi_generator.dart.

Maintenance issues and suggestions

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: analyzer.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and thyi_generator.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Homepage URL is insecure. (-5 points)

Update the homepage field and use a secure (https) URL.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.5.0 <3.0.0
analyzer >=0.36.0 0.39.11
build ^1.2.2 1.3.0
code_builder ^3.2.1 3.3.0
dart_style ^1.3.3 1.3.6
json_serializable ^3.2.5 3.3.0
path ^1.6.4 1.7.0
source_gen ^0.9.4+6 0.9.5
thyi ^1.0.2 1.0.10 1.0.11
Transitive dependencies
_fe_analyzer_shared 5.0.0
args 1.6.0
async 2.4.1
build_config 0.4.2
built_collection 4.3.2
built_value 7.1.0
charcode 1.1.3
checked_yaml 1.0.2
collection 1.14.13
convert 2.1.1
cookie_jar 1.0.1
crypto 2.1.5
csslib 0.16.1
dio 3.0.9
dio_cookie_manager 1.0.0
fixnum 0.10.11
glob 1.2.0
html 0.14.0+3
http_parser 3.1.4
js 0.6.2
json_annotation 3.0.1
logging 0.11.4
matcher 0.12.8
meta 1.1.8 1.2.0
node_interop 1.1.1
node_io 1.1.1
package_config 1.9.3
pedantic 1.9.0 1.9.1
pub_semver 1.4.4
pubspec_parse 0.1.5
quiver 2.1.3
source_span 1.7.0
stack_trace 1.9.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.2.0
watcher 0.9.7+15
yaml 2.2.1
Dev dependencies
build_runner any
test any