spring_boot_starter_web 0.4.2
spring_boot_starter_web: ^0.4.2 copied to clipboard
Spring MVC for Dart: @RestController with @GetMapping and @PostMapping on dart:io, JSON bodies, @Valid, ProblemDetail errors, server-sent events, filters, CORS.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add spring_boot_starter_webThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
spring_boot_starter_web: ^0.4.2Alternatively, 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:spring_boot_starter_web/spring_boot_starter_web.dart';