jaguar_generator 1.2.10 copy "jaguar_generator: ^1.2.10" to clipboard
jaguar_generator: ^1.2.10 copied to clipboard

outdated

Generator for Jaguar

jaguar-generator #

Generates RequestHandler for a given Api class.

Usage #

Api class #

lib/api.dart:

import 'package:jaguar/jaguar.dart';

part 'api.g.dart';

/// Example of basic API class
@Api(path: '/api')
class MotherGroup extends _$JaguarMotherGroup {
  /// Example of basic route
  @Route(path: '/ping')
  String ping(Context ctx) => "You pinged me!";
}

build.yaml settings #

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Generator for Jaguar

Homepage

License

unknown (license)

Dependencies

analyzer, build, build_runner, jaguar, source_gen

More

Packages that depend on jaguar_generator