ncmb 0.0.5
ncmb: ^0.0.5 copied to clipboard
Dart and Flutter library for Nifcloud mobile backend(NCMB). Nifcloud mobile backend is a web service of mBaaS.
NCMB for Dart w/ Flutter #
Dart and Flutter library for Nifcloud mobile backend(NCMB).
Usage #
Init #
import 'package:ncmb/ncmb.dart';
NCMB ncmb = new NCMB('YOUR_APPLICATION_KEY', 'YOUR_CLIENT_KEY');
DataStore #
Create data
NCMBObject item = ncmb.Object('Item')
..set('msg', 'Hello World')
..set('array', ['a', 'b'])
..set('int', 1)
..set('name', 'Atsushi');
await item.save();
debugPrint(item.get('objectId'));
Update data
await item.set('name', 'goofmint');
await item.save();
Delete data
await item.destroy();
LICENSE #
MIT.