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

A simple Dart wrapper for fetching, parsing and extracting notices from Visva-Bharati, Santiniketan's Official website

example/example.dart

import 'package:vb_noticeboard/vb_noticeboard.dart';

main() {
  FetchNotice().fetch().then(
        (value) =>
            StoreNotice.storeIt('data.json', ParseNotice().parseIt(value)).then(
              (val) => print(val ? 'Success' : 'Failure'),
              onError: (e) => print(e),
            ),
        onError: (e) => print(e),
      );
  ExtractFromJson.extractIt('data.json').then(
    (data) => print(data),
    onError: (e) => print(e),
  );
}
0
likes
30
pub points
0%
popularity

Publisher

verified publisheritzmeanjan.in

A simple Dart wrapper for fetching, parsing and extracting notices from Visva-Bharati, Santiniketan's Official website

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

html

More

Packages that depend on vb_noticeboard