ncmb 0.0.1

NCMB for Dart w/ Flutter #

Dart and Flutter library for Nifcloud mobile backend(NCMB).

Usage #

Init #

import 'package:ncmb/ncmb.dart';

DataStore #

Create data

NCMBObject item = ncmb.Object('Item')
  ..set('msg', 'Hello World')
  ..set('array', ['a', 'b'])
  ..set('int', 1)
  ..set('name', 'Atsushi');



Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  ncmb: ^0.0.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:ncmb/ncmb.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on May 14, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.1
  • pana: 0.13.8-dev

Health suggestions

Fix lib/src/signature.dart. (-1.49 points)

Analysis of lib/src/signature.dart reported 3 hints:

line 25 col 9: Use contains instead of indexOf

line 31 col 7: DO use curly braces for all flow control structures.

line 53 col 17: Unnecessary new keyword.

Fix lib/src/main.dart. (-0.50 points)

Analysis of lib/src/main.dart reported 1 hint:

line 12 col 12: Unnecessary new keyword.

Fix lib/src/object.dart. (-0.50 points)

Analysis of lib/src/object.dart reported 1 hint:

line 20 col 23: Unnecessary new keyword.

Fix lib/src/request.dart. (-0.50 points)

Analysis of lib/src/request.dart reported 1 hint:

line 10 col 19: Unnecessary new keyword.

Format lib/ncmb.dart.

Run dartfmt to format lib/ncmb.dart.

Maintenance issues and suggestions

Provide a file named (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Add description in pubspec.yaml. (-20 points)

The description gives users information about the features of your package and why it is relevant to their query. We recommend a description length of 60 to 180 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and ncmb.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
crypto ^2.1.4 2.1.4
http ^0.12.0+4 0.12.1
Transitive dependencies
charcode 1.1.3
collection 1.14.12
convert 2.1.1
http_parser 3.1.4
meta 1.1.8
path 1.7.0
pedantic 1.9.0
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
test ^1.3.4