sync_service 1.0.2 copy "sync_service: ^1.0.2" to clipboard
sync_service: ^1.0.2 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 Flutter:

 $ flutter pub add sync_service

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

dependencies:
  sync_service: ^1.0.2

Alternatively, your editor might support 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';