w3c_event_source 1.3.2  w3c_event_source: ^1.3.2 copied to clipboard
w3c_event_source: ^1.3.2 copied to clipboard
W3C EventSource client implementation for Dart / Flutter, to communicate with server-sent event endpoints.
Use this package as a library
Depend on it
Run this command:
With Dart:
 $ dart pub add w3c_event_sourceThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
  w3c_event_source: ^1.3.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:w3c_event_source/w3c_event_source.dart';