Skip to main content

union_type_lint 1.0.0 copy "union_type_lint: ^1.0.0" to clipboard
union_type_lint: ^1.0.0 copied to clipboard

A Dart analyzer plugin that validates UnionType annotations.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add union_type_lint

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  union_type_lint: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:union_type_lint/main.dart';
import 'package:union_type_lint/union_type_rule.dart';
import 'package:union_type_lint/union_type_visitor.dart';
1
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart analyzer plugin that validates UnionType annotations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_testing, test, test_reflective_loader

More

Packages that depend on union_type_lint