vb_noticeboard 1.0.0 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
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),
);
}