flutter_parse 0.2.3
flutter_parse: ^0.2.3 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

Plugin for managing and accessing Parse Server for Dart VM and Flutter.

example/flutter_parse_example.dart

import 'package:flutter_parse/flutter_parse.dart';

main() async {
  // create configuration
  ParseConfiguration config = ParseConfiguration(
    server: 'YOUR_PARSE_SERVER_URL',
    applicationId: 'YOUR_PARSE_APPLICATION_ID',
    clientKey: 'YOUR_PARSE_CLIENT_KEY',
  );
  // initialize parse using configuration
  Parse.initialize(config);

  // create and save object
  final object = ParseObject(className: 'Beacon')
    ..set('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
    ..set('major', 1)
    ..set('enabled', true)
    ..set('timestamp', DateTime.now());
  await object.save();

  // query for objects
  final query = ParseQuery(className: 'Beacon')
    ..whereEqualTo('proximityUUID', 'CB10023F-A318-3394-4199-A8730C7C1AEC')
    ..whereLessThanOrEqualTo('major', 10);
  final beacons = await query.findAsync();
}
11
likes
100
pub points
56%
popularity

Publisher

cubeacon.com

Plugin for managing and accessing Parse Server for Dart VM and Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

http, meta, path, sembast

More

Packages that depend on flutter_parse