sync_service 1.0.1-dev.3-enumeration copy "sync_service: ^1.0.1-dev.3-enumeration" to clipboard
sync_service: ^1.0.1-dev.3-enumeration copied to clipboard

Sync Service package provides access to sync to offline applications

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sync_service

With Flutter:

 $ flutter pub add sync_service

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  sync_service: ^1.0.1-dev.3-enumeration

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

Import it

Now in your Dart code, you can use:

import 'package:sync_service/blocs/sync/sync.dart';
import 'package:sync_service/blocs/sync/sync.freezed.dart';
import 'package:sync_service/data/repositories/sync/remote_type.dart';
import 'package:sync_service/data/repositories/sync/sync_down.dart';
import 'package:sync_service/data/repositories/sync/sync_up.dart';
import 'package:sync_service/data/sync_entity_mapper_listener.dart';
import 'package:sync_service/data/sync_service.dart';
import 'package:sync_service/models/bandwidth/bandwidth_model.dart';
import 'package:sync_service/models/bandwidth/bandwidth_model.freezed.dart';
import 'package:sync_service/models/bandwidth/bandwidth_model.g.dart';
import 'package:sync_service/sync_service_lib.dart';
import 'package:sync_service/utils/utils.dart';