prisma_generator_helper 1.2.2 copy "prisma_generator_helper: ^1.2.2" to clipboard
prisma_generator_helper: ^1.2.2 copied to clipboard

discontinuedreplaced by: orm

Prisma generator helper to quickly build Prisma generators.

Prisma Generator helper #

Prisma generator helper to quickly build Prisma generators.

Installation #

dart pub add prisma_generator_helper

Usage #

import 'package:prisma_generator_helper/prisma_generator_helper.dart';

/// Example generator.
final class ExampleGenerator implements Handler {
  @override
  Future<void> onGenerate(GeneratorOptions options) async {
    /// Implement the generator.
    /// This method will be called when the generator is invoked.
  }

  @override
  Future<GeneratorManifest> onManifest(GeneratorConfig config) async {
    return GeneratorManifest(
      prettyName: 'Example generator',
    );
  }
}

Future<void> main() => generator(ExampleGenerator());

Sponsors #

Prisma generator helper is an MIT licensed open source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider sponsoring Odroe development.

sponsors

1
likes
130
pub points
6%
popularity

Publisher

verified publisherodroe.com

Prisma generator helper to quickly build Prisma generators.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

github.com
opencollective.com

License

BSD-3-Clause (license)

Dependencies

freezed_annotation, json_annotation, json_rpc_2, stream_channel

More

Packages that depend on prisma_generator_helper