spine_client 0.1.1

  • Readme
  • Changelog
  • Installing
  • new45

Spine Dart Client Library #

Dart-based client for Spine applications. A facade for sending domain commands and querying entity states.

The package provides the following:

  • Dart client library;
  • generated Protobuf Dart types:
    • standard types (google.protobuf and google.protobuf.plugin);
    • required Spine types (from base, time, core, client, web, and firebase-web).

The package does not include Protobuf sources or descriptor sets. Refer to respective Maven artifacts for those.

Usage #

Prerequisites #

Users of this library are required to use the Spine Protobuf Dart plugin.

In order to compile Protobuf into Dart, one needs to:

  1. Activate the protoc_plugin Pub package: pub activate global protoc_plugin.
  2. Apply the Proto Dart plugin:
    buildscript {
        classpath "io.spine.tools:spine-proto-dart-plugin:$spineVersion"
    }
    
    apply plugin: 'io.spine.tools.proto-dart-plugin'
    

The Protoc plugin generates .pb.dart files. Spine Proto Dart plugin configures the Protoc plugin. By default, the .pb.dart files are generated under lib for the main scope and under test for the test scope.

Also Spine Proto Dart plugin generates types.dart — a type registry file. The type registry serves for reflection needs of the spine_client package.

Example #

The example beneath demonstrates how to perform a simple query and post a bunch of commands using the client library.

// Import `spine_client` and helper libraries.
import 'package:spine_client/spine_client.dart';
import 'package:spine_client/web_firebase_client.dart';
import 'package:spine_client/time.dart';

// Import the Firebase client library.
import 'package:firebase/firebase.dart' as fb;

// Import your model types, generated from Protobuf.
import 'example/acme/task/commands.pb.dart';
import 'example/acme/task/view.pb.dart';

// Import the type registry which contains all your model types.
// Generated by Spine Proto Dart Gradle plugin.
import 'types.dart' as exampleTypes;

void main() {
    var actorId = UserId()
            ..value = '$myUserId';
    var requests = ActorRequestFactory(actorId);
    var firebase = RestClient(
            fb.Database.getInstance(myFirebaseDbJsObject()),
            'https://example-org-42.firebaseio.com'
    );
    var client = BackendClient('https://example.org',
                               firebase,
                               typeRegistries: [myTypes.types()]);
    // Fetch all `TaskView` projections and mark all tasks as done.
    client.fetch(requests.query().all(TaskView()))
          .forEach((taskView) {
              var markDone = MarkTaskDone()
                      ..id = taskView.id
                      ..who_completed = actorId;
              client.post(requests.command().create(markDone));
          });
}

0.1.0 #

Initial release of the library. Includes support for:

  • posting commands;
  • querying entities.

0.1.1 #

Addressed major suggestions of Pub related to the package maintenance.

Use this package as a library

1. Depend on it

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


dependencies:
  spine_client: ^0.1.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:spine_client/spine_client.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
45
Learn more about scoring.

We analyzed this package on Oct 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:spine_client/spine_client.dart.

Health suggestions

Fix lib/types.dart. (-1.99 points)

Analysis of lib/types.dart reported 4 hints:

line 80 col 8: Unused import: 'spine/ui/language.pb.dart'.

line 81 col 8: Unused import: 'spine/client/command_service.pb.dart'.

line 82 col 8: Unused import: 'spine/client/subscription_service.pb.dart'.

line 83 col 8: Unused import: 'spine/client/query_service.pb.dart'.

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

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

line 22 col 45: Use lowercase_with_underscores when specifying a library prefix.

Format lib/actor_request_factory.dart.

Run dartfmt to format lib/actor_request_factory.dart.

Fix additional 302 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/backend_client.dart (Run dartfmt to format lib/backend_client.dart.)
  • lib/command_factory.dart (Run dartfmt to format lib/command_factory.dart.)
  • lib/firebase_client.dart (Run dartfmt to format lib/firebase_client.dart.)
  • lib/google/protobuf/any.pb.dart (Run dartfmt to format lib/google/protobuf/any.pb.dart.)
  • lib/google/protobuf/any.pbenum.dart (Run dartfmt to format lib/google/protobuf/any.pbenum.dart.)
  • lib/google/protobuf/any.pbjson.dart (Run dartfmt to format lib/google/protobuf/any.pbjson.dart.)
  • lib/google/protobuf/any.pbserver.dart (Run dartfmt to format lib/google/protobuf/any.pbserver.dart.)
  • lib/google/protobuf/api.pb.dart (Run dartfmt to format lib/google/protobuf/api.pb.dart.)
  • lib/google/protobuf/api.pbenum.dart (Run dartfmt to format lib/google/protobuf/api.pbenum.dart.)
  • lib/google/protobuf/api.pbjson.dart (Run dartfmt to format lib/google/protobuf/api.pbjson.dart.)
  • lib/google/protobuf/api.pbserver.dart (Run dartfmt to format lib/google/protobuf/api.pbserver.dart.)
  • lib/google/protobuf/compiler/plugin.pb.dart (Run dartfmt to format lib/google/protobuf/compiler/plugin.pb.dart.)
  • lib/google/protobuf/compiler/plugin.pbenum.dart (Run dartfmt to format lib/google/protobuf/compiler/plugin.pbenum.dart.)
  • lib/google/protobuf/compiler/plugin.pbjson.dart (Run dartfmt to format lib/google/protobuf/compiler/plugin.pbjson.dart.)
  • lib/google/protobuf/compiler/plugin.pbserver.dart (Run dartfmt to format lib/google/protobuf/compiler/plugin.pbserver.dart.)
  • lib/google/protobuf/descriptor.pb.dart (Run dartfmt to format lib/google/protobuf/descriptor.pb.dart.)
  • lib/google/protobuf/descriptor.pbenum.dart (Run dartfmt to format lib/google/protobuf/descriptor.pbenum.dart.)
  • lib/google/protobuf/descriptor.pbjson.dart (Run dartfmt to format lib/google/protobuf/descriptor.pbjson.dart.)
  • lib/google/protobuf/descriptor.pbserver.dart (Run dartfmt to format lib/google/protobuf/descriptor.pbserver.dart.)
  • lib/google/protobuf/duration.pb.dart (Run dartfmt to format lib/google/protobuf/duration.pb.dart.)
  • lib/google/protobuf/duration.pbenum.dart (Run dartfmt to format lib/google/protobuf/duration.pbenum.dart.)
  • lib/google/protobuf/duration.pbjson.dart (Run dartfmt to format lib/google/protobuf/duration.pbjson.dart.)
  • lib/google/protobuf/duration.pbserver.dart (Run dartfmt to format lib/google/protobuf/duration.pbserver.dart.)
  • lib/google/protobuf/empty.pb.dart (Run dartfmt to format lib/google/protobuf/empty.pb.dart.)
  • lib/google/protobuf/empty.pbenum.dart (Run dartfmt to format lib/google/protobuf/empty.pbenum.dart.)
  • lib/google/protobuf/empty.pbjson.dart (Run dartfmt to format lib/google/protobuf/empty.pbjson.dart.)
  • lib/google/protobuf/empty.pbserver.dart (Run dartfmt to format lib/google/protobuf/empty.pbserver.dart.)
  • lib/google/protobuf/field_mask.pb.dart (Run dartfmt to format lib/google/protobuf/field_mask.pb.dart.)
  • lib/google/protobuf/field_mask.pbenum.dart (Run dartfmt to format lib/google/protobuf/field_mask.pbenum.dart.)
  • lib/google/protobuf/field_mask.pbjson.dart (Run dartfmt to format lib/google/protobuf/field_mask.pbjson.dart.)
  • lib/google/protobuf/field_mask.pbserver.dart (Run dartfmt to format lib/google/protobuf/field_mask.pbserver.dart.)
  • lib/google/protobuf/source_context.pb.dart (Run dartfmt to format lib/google/protobuf/source_context.pb.dart.)
  • lib/google/protobuf/source_context.pbenum.dart (Run dartfmt to format lib/google/protobuf/source_context.pbenum.dart.)
  • lib/google/protobuf/source_context.pbjson.dart (Run dartfmt to format lib/google/protobuf/source_context.pbjson.dart.)
  • lib/google/protobuf/source_context.pbserver.dart (Run dartfmt to format lib/google/protobuf/source_context.pbserver.dart.)
  • lib/google/protobuf/struct.pb.dart (Run dartfmt to format lib/google/protobuf/struct.pb.dart.)
  • lib/google/protobuf/struct.pbenum.dart (Run dartfmt to format lib/google/protobuf/struct.pbenum.dart.)
  • lib/google/protobuf/struct.pbjson.dart (Run dartfmt to format lib/google/protobuf/struct.pbjson.dart.)
  • lib/google/protobuf/struct.pbserver.dart (Run dartfmt to format lib/google/protobuf/struct.pbserver.dart.)
  • lib/google/protobuf/timestamp.pb.dart (Run dartfmt to format lib/google/protobuf/timestamp.pb.dart.)
  • lib/google/protobuf/timestamp.pbenum.dart (Run dartfmt to format lib/google/protobuf/timestamp.pbenum.dart.)
  • lib/google/protobuf/timestamp.pbjson.dart (Run dartfmt to format lib/google/protobuf/timestamp.pbjson.dart.)
  • lib/google/protobuf/timestamp.pbserver.dart (Run dartfmt to format lib/google/protobuf/timestamp.pbserver.dart.)
  • lib/google/protobuf/type.pb.dart (Run dartfmt to format lib/google/protobuf/type.pb.dart.)
  • lib/google/protobuf/type.pbenum.dart (Run dartfmt to format lib/google/protobuf/type.pbenum.dart.)
  • lib/google/protobuf/type.pbjson.dart (Run dartfmt to format lib/google/protobuf/type.pbjson.dart.)
  • lib/google/protobuf/type.pbserver.dart (Run dartfmt to format lib/google/protobuf/type.pbserver.dart.)
  • lib/google/protobuf/wrappers.pb.dart (Run dartfmt to format lib/google/protobuf/wrappers.pb.dart.)
  • lib/google/protobuf/wrappers.pbenum.dart (Run dartfmt to format lib/google/protobuf/wrappers.pbenum.dart.)
  • lib/google/protobuf/wrappers.pbjson.dart (Run dartfmt to format lib/google/protobuf/wrappers.pbjson.dart.)
  • lib/google/protobuf/wrappers.pbserver.dart (Run dartfmt to format lib/google/protobuf/wrappers.pbserver.dart.)
  • lib/query_factory.dart (Run dartfmt to format lib/query_factory.dart.)
  • lib/rest_firebase_client.dart (Run dartfmt to format lib/rest_firebase_client.dart.)
  • lib/spine/base/error.pb.dart (Run dartfmt to format lib/spine/base/error.pb.dart.)
  • lib/spine/base/error.pbenum.dart (Run dartfmt to format lib/spine/base/error.pbenum.dart.)
  • lib/spine/base/error.pbjson.dart (Run dartfmt to format lib/spine/base/error.pbjson.dart.)
  • lib/spine/base/error.pbserver.dart (Run dartfmt to format lib/spine/base/error.pbserver.dart.)
  • lib/spine/base/field_filter.pb.dart (Run dartfmt to format lib/spine/base/field_filter.pb.dart.)
  • lib/spine/base/field_filter.pbenum.dart (Run dartfmt to format lib/spine/base/field_filter.pbenum.dart.)
  • lib/spine/base/field_filter.pbjson.dart (Run dartfmt to format lib/spine/base/field_filter.pbjson.dart.)
  • lib/spine/base/field_filter.pbserver.dart (Run dartfmt to format lib/spine/base/field_filter.pbserver.dart.)
  • lib/spine/base/field_path.pb.dart (Run dartfmt to format lib/spine/base/field_path.pb.dart.)
  • lib/spine/base/field_path.pbenum.dart (Run dartfmt to format lib/spine/base/field_path.pbenum.dart.)
  • lib/spine/base/field_path.pbjson.dart (Run dartfmt to format lib/spine/base/field_path.pbjson.dart.)
  • lib/spine/base/field_path.pbserver.dart (Run dartfmt to format lib/spine/base/field_path.pbserver.dart.)
  • lib/spine/change/change.pb.dart (Run dartfmt to format lib/spine/change/change.pb.dart.)
  • lib/spine/change/change.pbenum.dart (Run dartfmt to format lib/spine/change/change.pbenum.dart.)
  • lib/spine/change/change.pbjson.dart (Run dartfmt to format lib/spine/change/change.pbjson.dart.)
  • lib/spine/change/change.pbserver.dart (Run dartfmt to format lib/spine/change/change.pbserver.dart.)
  • lib/spine/change/value_mismatch.pb.dart (Run dartfmt to format lib/spine/change/value_mismatch.pb.dart.)
  • lib/spine/change/value_mismatch.pbenum.dart (Run dartfmt to format lib/spine/change/value_mismatch.pbenum.dart.)
  • lib/spine/change/value_mismatch.pbjson.dart (Run dartfmt to format lib/spine/change/value_mismatch.pbjson.dart.)
  • lib/spine/change/value_mismatch.pbserver.dart (Run dartfmt to format lib/spine/change/value_mismatch.pbserver.dart.)
  • lib/spine/client/command_service.pb.dart (Run dartfmt to format lib/spine/client/command_service.pb.dart.)
  • lib/spine/client/command_service.pbenum.dart (Run dartfmt to format lib/spine/client/command_service.pbenum.dart.)
  • lib/spine/client/command_service.pbjson.dart (Run dartfmt to format lib/spine/client/command_service.pbjson.dart.)
  • lib/spine/client/command_service.pbserver.dart (Run dartfmt to format lib/spine/client/command_service.pbserver.dart.)
  • lib/spine/client/entities.pb.dart (Run dartfmt to format lib/spine/client/entities.pb.dart.)
  • lib/spine/client/entities.pbenum.dart (Run dartfmt to format lib/spine/client/entities.pbenum.dart.)
  • lib/spine/client/entities.pbjson.dart (Run dartfmt to format lib/spine/client/entities.pbjson.dart.)
  • lib/spine/client/entities.pbserver.dart (Run dartfmt to format lib/spine/client/entities.pbserver.dart.)
  • lib/spine/client/filters.pb.dart (Run dartfmt to format lib/spine/client/filters.pb.dart.)
  • lib/spine/client/filters.pbenum.dart (Run dartfmt to format lib/spine/client/filters.pbenum.dart.)
  • lib/spine/client/filters.pbjson.dart (Run dartfmt to format lib/spine/client/filters.pbjson.dart.)
  • lib/spine/client/filters.pbserver.dart (Run dartfmt to format lib/spine/client/filters.pbserver.dart.)
  • lib/spine/client/query.pb.dart (Run dartfmt to format lib/spine/client/query.pb.dart.)
  • lib/spine/client/query.pbenum.dart (Run dartfmt to format lib/spine/client/query.pbenum.dart.)
  • lib/spine/client/query.pbjson.dart (Run dartfmt to format lib/spine/client/query.pbjson.dart.)
  • lib/spine/client/query.pbserver.dart (Run dartfmt to format lib/spine/client/query.pbserver.dart.)
  • lib/spine/client/query_service.pb.dart (Run dartfmt to format lib/spine/client/query_service.pb.dart.)
  • lib/spine/client/query_service.pbenum.dart (Run dartfmt to format lib/spine/client/query_service.pbenum.dart.)
  • lib/spine/client/query_service.pbjson.dart (Run dartfmt to format lib/spine/client/query_service.pbjson.dart.)
  • lib/spine/client/query_service.pbserver.dart (Run dartfmt to format lib/spine/client/query_service.pbserver.dart.)
  • lib/spine/client/subscription.pb.dart (Run dartfmt to format lib/spine/client/subscription.pb.dart.)
  • lib/spine/client/subscription.pbenum.dart (Run dartfmt to format lib/spine/client/subscription.pbenum.dart.)
  • lib/spine/client/subscription.pbjson.dart (Run dartfmt to format lib/spine/client/subscription.pbjson.dart.)
  • lib/spine/client/subscription.pbserver.dart (Run dartfmt to format lib/spine/client/subscription.pbserver.dart.)
  • lib/spine/client/subscription_service.pb.dart (Run dartfmt to format lib/spine/client/subscription_service.pb.dart.)
  • lib/spine/client/subscription_service.pbenum.dart (Run dartfmt to format lib/spine/client/subscription_service.pbenum.dart.)
  • lib/spine/client/subscription_service.pbjson.dart (Run dartfmt to format lib/spine/client/subscription_service.pbjson.dart.)
  • lib/spine/client/subscription_service.pbserver.dart (Run dartfmt to format lib/spine/client/subscription_service.pbserver.dart.)
  • lib/spine/core/ack.pb.dart (Run dartfmt to format lib/spine/core/ack.pb.dart.)
  • lib/spine/core/ack.pbenum.dart (Run dartfmt to format lib/spine/core/ack.pbenum.dart.)
  • lib/spine/core/ack.pbjson.dart (Run dartfmt to format lib/spine/core/ack.pbjson.dart.)
  • lib/spine/core/ack.pbserver.dart (Run dartfmt to format lib/spine/core/ack.pbserver.dart.)
  • lib/spine/core/actor_context.pb.dart (Run dartfmt to format lib/spine/core/actor_context.pb.dart.)
  • lib/spine/core/actor_context.pbenum.dart (Run dartfmt to format lib/spine/core/actor_context.pbenum.dart.)
  • lib/spine/core/actor_context.pbjson.dart (Run dartfmt to format lib/spine/core/actor_context.pbjson.dart.)
  • lib/spine/core/actor_context.pbserver.dart (Run dartfmt to format lib/spine/core/actor_context.pbserver.dart.)
  • lib/spine/core/bounded_context.pb.dart (Run dartfmt to format lib/spine/core/bounded_context.pb.dart.)
  • lib/spine/core/bounded_context.pbenum.dart (Run dartfmt to format lib/spine/core/bounded_context.pbenum.dart.)
  • lib/spine/core/bounded_context.pbjson.dart (Run dartfmt to format lib/spine/core/bounded_context.pbjson.dart.)
  • lib/spine/core/bounded_context.pbserver.dart (Run dartfmt to format lib/spine/core/bounded_context.pbserver.dart.)
  • lib/spine/core/command.pb.dart (Run dartfmt to format lib/spine/core/command.pb.dart.)
  • lib/spine/core/command.pbenum.dart (Run dartfmt to format lib/spine/core/command.pbenum.dart.)
  • lib/spine/core/command.pbjson.dart (Run dartfmt to format lib/spine/core/command.pbjson.dart.)
  • lib/spine/core/command.pbserver.dart (Run dartfmt to format lib/spine/core/command.pbserver.dart.)
  • lib/spine/core/diagnostics.pb.dart (Run dartfmt to format lib/spine/core/diagnostics.pb.dart.)
  • lib/spine/core/diagnostics.pbenum.dart (Run dartfmt to format lib/spine/core/diagnostics.pbenum.dart.)
  • lib/spine/core/diagnostics.pbjson.dart (Run dartfmt to format lib/spine/core/diagnostics.pbjson.dart.)
  • lib/spine/core/diagnostics.pbserver.dart (Run dartfmt to format lib/spine/core/diagnostics.pbserver.dart.)
  • lib/spine/core/enrichment.pb.dart (Run dartfmt to format lib/spine/core/enrichment.pb.dart.)
  • lib/spine/core/enrichment.pbenum.dart (Run dartfmt to format lib/spine/core/enrichment.pbenum.dart.)
  • lib/spine/core/enrichment.pbjson.dart (Run dartfmt to format lib/spine/core/enrichment.pbjson.dart.)
  • lib/spine/core/enrichment.pbserver.dart (Run dartfmt to format lib/spine/core/enrichment.pbserver.dart.)
  • lib/spine/core/event.pb.dart (Run dartfmt to format lib/spine/core/event.pb.dart.)
  • lib/spine/core/event.pbenum.dart (Run dartfmt to format lib/spine/core/event.pbenum.dart.)
  • lib/spine/core/event.pbjson.dart (Run dartfmt to format lib/spine/core/event.pbjson.dart.)
  • lib/spine/core/event.pbserver.dart (Run dartfmt to format lib/spine/core/event.pbserver.dart.)
  • lib/spine/core/response.pb.dart (Run dartfmt to format lib/spine/core/response.pb.dart.)
  • lib/spine/core/response.pbenum.dart (Run dartfmt to format lib/spine/core/response.pbenum.dart.)
  • lib/spine/core/response.pbjson.dart (Run dartfmt to format lib/spine/core/response.pbjson.dart.)
  • lib/spine/core/response.pbserver.dart (Run dartfmt to format lib/spine/core/response.pbserver.dart.)
  • lib/spine/core/tenant_id.pb.dart (Run dartfmt to format lib/spine/core/tenant_id.pb.dart.)
  • lib/spine/core/tenant_id.pbenum.dart (Run dartfmt to format lib/spine/core/tenant_id.pbenum.dart.)
  • lib/spine/core/tenant_id.pbjson.dart (Run dartfmt to format lib/spine/core/tenant_id.pbjson.dart.)
  • lib/spine/core/tenant_id.pbserver.dart (Run dartfmt to format lib/spine/core/tenant_id.pbserver.dart.)
  • lib/spine/core/user_id.pb.dart (Run dartfmt to format lib/spine/core/user_id.pb.dart.)
  • lib/spine/core/user_id.pbenum.dart (Run dartfmt to format lib/spine/core/user_id.pbenum.dart.)
  • lib/spine/core/user_id.pbjson.dart (Run dartfmt to format lib/spine/core/user_id.pbjson.dart.)
  • lib/spine/core/user_id.pbserver.dart (Run dartfmt to format lib/spine/core/user_id.pbserver.dart.)
  • lib/spine/core/version.pb.dart (Run dartfmt to format lib/spine/core/version.pb.dart.)
  • lib/spine/core/version.pbenum.dart (Run dartfmt to format lib/spine/core/version.pbenum.dart.)
  • lib/spine/core/version.pbjson.dart (Run dartfmt to format lib/spine/core/version.pbjson.dart.)
  • lib/spine/core/version.pbserver.dart (Run dartfmt to format lib/spine/core/version.pbserver.dart.)
  • lib/spine/net/email_address.pb.dart (Run dartfmt to format lib/spine/net/email_address.pb.dart.)
  • lib/spine/net/email_address.pbenum.dart (Run dartfmt to format lib/spine/net/email_address.pbenum.dart.)
  • lib/spine/net/email_address.pbjson.dart (Run dartfmt to format lib/spine/net/email_address.pbjson.dart.)
  • lib/spine/net/email_address.pbserver.dart (Run dartfmt to format lib/spine/net/email_address.pbserver.dart.)
  • lib/spine/net/internet_domain.pb.dart (Run dartfmt to format lib/spine/net/internet_domain.pb.dart.)
  • lib/spine/net/internet_domain.pbenum.dart (Run dartfmt to format lib/spine/net/internet_domain.pbenum.dart.)
  • lib/spine/net/internet_domain.pbjson.dart (Run dartfmt to format lib/spine/net/internet_domain.pbjson.dart.)
  • lib/spine/net/internet_domain.pbserver.dart (Run dartfmt to format lib/spine/net/internet_domain.pbserver.dart.)
  • lib/spine/net/url.pb.dart (Run dartfmt to format lib/spine/net/url.pb.dart.)
  • lib/spine/net/url.pbenum.dart (Run dartfmt to format lib/spine/net/url.pbenum.dart.)
  • lib/spine/net/url.pbjson.dart (Run dartfmt to format lib/spine/net/url.pbjson.dart.)
  • lib/spine/net/url.pbserver.dart (Run dartfmt to format lib/spine/net/url.pbserver.dart.)
  • lib/spine/options.pb.dart (Run dartfmt to format lib/spine/options.pb.dart.)
  • lib/spine/options.pbenum.dart (Run dartfmt to format lib/spine/options.pbenum.dart.)
  • lib/spine/options.pbjson.dart (Run dartfmt to format lib/spine/options.pbjson.dart.)
  • lib/spine/options.pbserver.dart (Run dartfmt to format lib/spine/options.pbserver.dart.)
  • lib/spine/people/person_name.pb.dart (Run dartfmt to format lib/spine/people/person_name.pb.dart.)
  • lib/spine/people/person_name.pbenum.dart (Run dartfmt to format lib/spine/people/person_name.pbenum.dart.)
  • lib/spine/people/person_name.pbjson.dart (Run dartfmt to format lib/spine/people/person_name.pbjson.dart.)
  • lib/spine/people/person_name.pbserver.dart (Run dartfmt to format lib/spine/people/person_name.pbserver.dart.)
  • lib/spine/server/aggregate/aggregate.pb.dart (Run dartfmt to format lib/spine/server/aggregate/aggregate.pb.dart.)
  • lib/spine/server/aggregate/aggregate.pbenum.dart (Run dartfmt to format lib/spine/server/aggregate/aggregate.pbenum.dart.)
  • lib/spine/server/aggregate/aggregate.pbjson.dart (Run dartfmt to format lib/spine/server/aggregate/aggregate.pbjson.dart.)
  • lib/spine/server/aggregate/aggregate.pbserver.dart (Run dartfmt to format lib/spine/server/aggregate/aggregate.pbserver.dart.)
  • lib/spine/server/delivery/delivery.pb.dart (Run dartfmt to format lib/spine/server/delivery/delivery.pb.dart.)
  • lib/spine/server/delivery/delivery.pbenum.dart (Run dartfmt to format lib/spine/server/delivery/delivery.pbenum.dart.)
  • lib/spine/server/delivery/delivery.pbjson.dart (Run dartfmt to format lib/spine/server/delivery/delivery.pbjson.dart.)
  • lib/spine/server/delivery/delivery.pbserver.dart (Run dartfmt to format lib/spine/server/delivery/delivery.pbserver.dart.)
  • lib/spine/server/delivery/inbox.pb.dart (Run dartfmt to format lib/spine/server/delivery/inbox.pb.dart.)
  • lib/spine/server/delivery/inbox.pbenum.dart (Run dartfmt to format lib/spine/server/delivery/inbox.pbenum.dart.)
  • lib/spine/server/delivery/inbox.pbjson.dart (Run dartfmt to format lib/spine/server/delivery/inbox.pbjson.dart.)
  • lib/spine/server/delivery/inbox.pbserver.dart (Run dartfmt to format lib/spine/server/delivery/inbox.pbserver.dart.)
  • lib/spine/server/dispatch/dispatching.pb.dart (Run dartfmt to format lib/spine/server/dispatch/dispatching.pb.dart.)
  • lib/spine/server/dispatch/dispatching.pbenum.dart (Run dartfmt to format lib/spine/server/dispatch/dispatching.pbenum.dart.)
  • lib/spine/server/dispatch/dispatching.pbjson.dart (Run dartfmt to format lib/spine/server/dispatch/dispatching.pbjson.dart.)
  • lib/spine/server/dispatch/dispatching.pbserver.dart (Run dartfmt to format lib/spine/server/dispatch/dispatching.pbserver.dart.)
  • lib/spine/server/entity/entity.pb.dart (Run dartfmt to format lib/spine/server/entity/entity.pb.dart.)
  • lib/spine/server/entity/entity.pbenum.dart (Run dartfmt to format lib/spine/server/entity/entity.pbenum.dart.)
  • lib/spine/server/entity/entity.pbjson.dart (Run dartfmt to format lib/spine/server/entity/entity.pbjson.dart.)
  • lib/spine/server/entity/entity.pbserver.dart (Run dartfmt to format lib/spine/server/entity/entity.pbserver.dart.)
  • lib/spine/server/entity/standard_rejections.pb.dart (Run dartfmt to format lib/spine/server/entity/standard_rejections.pb.dart.)
  • lib/spine/server/entity/standard_rejections.pbenum.dart (Run dartfmt to format lib/spine/server/entity/standard_rejections.pbenum.dart.)
  • lib/spine/server/entity/standard_rejections.pbjson.dart (Run dartfmt to format lib/spine/server/entity/standard_rejections.pbjson.dart.)
  • lib/spine/server/entity/standard_rejections.pbserver.dart (Run dartfmt to format lib/spine/server/entity/standard_rejections.pbserver.dart.)
  • lib/spine/server/event/event_filter.pb.dart (Run dartfmt to format lib/spine/server/event/event_filter.pb.dart.)
  • lib/spine/server/event/event_filter.pbenum.dart (Run dartfmt to format lib/spine/server/event/event_filter.pbenum.dart.)
  • lib/spine/server/event/event_filter.pbjson.dart (Run dartfmt to format lib/spine/server/event/event_filter.pbjson.dart.)
  • lib/spine/server/event/event_filter.pbserver.dart (Run dartfmt to format lib/spine/server/event/event_filter.pbserver.dart.)
  • lib/spine/server/event/event_stream_query.pb.dart (Run dartfmt to format lib/spine/server/event/event_stream_query.pb.dart.)
  • lib/spine/server/event/event_stream_query.pbenum.dart (Run dartfmt to format lib/spine/server/event/event_stream_query.pbenum.dart.)
  • lib/spine/server/event/event_stream_query.pbjson.dart (Run dartfmt to format lib/spine/server/event/event_stream_query.pbjson.dart.)
  • lib/spine/server/event/event_stream_query.pbserver.dart (Run dartfmt to format lib/spine/server/event/event_stream_query.pbserver.dart.)
  • lib/spine/server/integration/broker.pb.dart (Run dartfmt to format lib/spine/server/integration/broker.pb.dart.)
  • lib/spine/server/integration/broker.pbenum.dart (Run dartfmt to format lib/spine/server/integration/broker.pbenum.dart.)
  • lib/spine/server/integration/broker.pbjson.dart (Run dartfmt to format lib/spine/server/integration/broker.pbjson.dart.)
  • lib/spine/server/integration/broker.pbserver.dart (Run dartfmt to format lib/spine/server/integration/broker.pbserver.dart.)
  • lib/spine/server/model/standard_events.pb.dart (Run dartfmt to format lib/spine/server/model/standard_events.pb.dart.)
  • lib/spine/server/model/standard_events.pbenum.dart (Run dartfmt to format lib/spine/server/model/standard_events.pbenum.dart.)
  • lib/spine/server/model/standard_events.pbjson.dart (Run dartfmt to format lib/spine/server/model/standard_events.pbjson.dart.)
  • lib/spine/server/model/standard_events.pbserver.dart (Run dartfmt to format lib/spine/server/model/standard_events.pbserver.dart.)
  • lib/spine/server/server_environment.pb.dart (Run dartfmt to format lib/spine/server/server_environment.pb.dart.)
  • lib/spine/server/server_environment.pbenum.dart (Run dartfmt to format lib/spine/server/server_environment.pbenum.dart.)
  • lib/spine/server/server_environment.pbjson.dart (Run dartfmt to format lib/spine/server/server_environment.pbjson.dart.)
  • lib/spine/server/server_environment.pbserver.dart (Run dartfmt to format lib/spine/server/server_environment.pbserver.dart.)
  • lib/spine/server/tenant/events.pb.dart (Run dartfmt to format lib/spine/server/tenant/events.pb.dart.)
  • lib/spine/server/tenant/events.pbenum.dart (Run dartfmt to format lib/spine/server/tenant/events.pbenum.dart.)
  • lib/spine/server/tenant/events.pbjson.dart (Run dartfmt to format lib/spine/server/tenant/events.pbjson.dart.)
  • lib/spine/server/tenant/events.pbserver.dart (Run dartfmt to format lib/spine/server/tenant/events.pbserver.dart.)
  • lib/spine/server/tenant/tenant.pb.dart (Run dartfmt to format lib/spine/server/tenant/tenant.pb.dart.)
  • lib/spine/server/tenant/tenant.pbenum.dart (Run dartfmt to format lib/spine/server/tenant/tenant.pbenum.dart.)
  • lib/spine/server/tenant/tenant.pbjson.dart (Run dartfmt to format lib/spine/server/tenant/tenant.pbjson.dart.)
  • lib/spine/server/tenant/tenant.pbserver.dart (Run dartfmt to format lib/spine/server/tenant/tenant.pbserver.dart.)
  • lib/spine/server/transport/transport.pb.dart (Run dartfmt to format lib/spine/server/transport/transport.pb.dart.)
  • lib/spine/server/transport/transport.pbenum.dart (Run dartfmt to format lib/spine/server/transport/transport.pbenum.dart.)
  • lib/spine/server/transport/transport.pbjson.dart (Run dartfmt to format lib/spine/server/transport/transport.pbjson.dart.)
  • lib/spine/server/transport/transport.pbserver.dart (Run dartfmt to format lib/spine/server/transport/transport.pbserver.dart.)
  • lib/spine/system/server/command_log.pb.dart (Run dartfmt to format lib/spine/system/server/command_log.pb.dart.)
  • lib/spine/system/server/command_log.pbenum.dart (Run dartfmt to format lib/spine/system/server/command_log.pbenum.dart.)
  • lib/spine/system/server/command_log.pbjson.dart (Run dartfmt to format lib/spine/system/server/command_log.pbjson.dart.)
  • lib/spine/system/server/command_log.pbserver.dart (Run dartfmt to format lib/spine/system/server/command_log.pbserver.dart.)
  • lib/spine/system/server/command_log_events.pb.dart (Run dartfmt to format lib/spine/system/server/command_log_events.pb.dart.)
  • lib/spine/system/server/command_log_events.pbenum.dart (Run dartfmt to format lib/spine/system/server/command_log_events.pbenum.dart.)
  • lib/spine/system/server/command_log_events.pbjson.dart (Run dartfmt to format lib/spine/system/server/command_log_events.pbjson.dart.)
  • lib/spine/system/server/command_log_events.pbserver.dart (Run dartfmt to format lib/spine/system/server/command_log_events.pbserver.dart.)
  • lib/spine/system/server/diagnostic_events.pb.dart (Run dartfmt to format lib/spine/system/server/diagnostic_events.pb.dart.)
  • lib/spine/system/server/diagnostic_events.pbenum.dart (Run dartfmt to format lib/spine/system/server/diagnostic_events.pbenum.dart.)
  • lib/spine/system/server/diagnostic_events.pbjson.dart (Run dartfmt to format lib/spine/system/server/diagnostic_events.pbjson.dart.)
  • lib/spine/system/server/diagnostic_events.pbserver.dart (Run dartfmt to format lib/spine/system/server/diagnostic_events.pbserver.dart.)
  • lib/spine/system/server/entity_log_events.pb.dart (Run dartfmt to format lib/spine/system/server/entity_log_events.pb.dart.)
  • lib/spine/system/server/entity_log_events.pbenum.dart (Run dartfmt to format lib/spine/system/server/entity_log_events.pbenum.dart.)
  • lib/spine/system/server/entity_log_events.pbjson.dart (Run dartfmt to format lib/spine/system/server/entity_log_events.pbjson.dart.)
  • lib/spine/system/server/entity_log_events.pbserver.dart (Run dartfmt to format lib/spine/system/server/entity_log_events.pbserver.dart.)
  • lib/spine/system/server/entity_type.pb.dart (Run dartfmt to format lib/spine/system/server/entity_type.pb.dart.)
  • lib/spine/system/server/entity_type.pbenum.dart (Run dartfmt to format lib/spine/system/server/entity_type.pbenum.dart.)
  • lib/spine/system/server/entity_type.pbjson.dart (Run dartfmt to format lib/spine/system/server/entity_type.pbjson.dart.)
  • lib/spine/system/server/entity_type.pbserver.dart (Run dartfmt to format lib/spine/system/server/entity_type.pbserver.dart.)
  • lib/spine/system/server/event_lifecycle_events.pb.dart (Run dartfmt to format lib/spine/system/server/event_lifecycle_events.pb.dart.)
  • lib/spine/system/server/event_lifecycle_events.pbenum.dart (Run dartfmt to format lib/spine/system/server/event_lifecycle_events.pbenum.dart.)
  • lib/spine/system/server/event_lifecycle_events.pbjson.dart (Run dartfmt to format lib/spine/system/server/event_lifecycle_events.pbjson.dart.)
  • lib/spine/system/server/event_lifecycle_events.pbserver.dart (Run dartfmt to format lib/spine/system/server/event_lifecycle_events.pbserver.dart.)
  • lib/spine/system/server/mirror.pb.dart (Run dartfmt to format lib/spine/system/server/mirror.pb.dart.)
  • lib/spine/system/server/mirror.pbenum.dart (Run dartfmt to format lib/spine/system/server/mirror.pbenum.dart.)
  • lib/spine/system/server/mirror.pbjson.dart (Run dartfmt to format lib/spine/system/server/mirror.pbjson.dart.)
  • lib/spine/system/server/mirror.pbserver.dart (Run dartfmt to format lib/spine/system/server/mirror.pbserver.dart.)
  • lib/spine/system/server/scheduled_command.pb.dart (Run dartfmt to format lib/spine/system/server/scheduled_command.pb.dart.)
  • lib/spine/system/server/scheduled_command.pbenum.dart (Run dartfmt to format lib/spine/system/server/scheduled_command.pbenum.dart.)
  • lib/spine/system/server/scheduled_command.pbjson.dart (Run dartfmt to format lib/spine/system/server/scheduled_command.pbjson.dart.)
  • lib/spine/system/server/scheduled_command.pbserver.dart (Run dartfmt to format lib/spine/system/server/scheduled_command.pbserver.dart.)
  • lib/spine/time/time.pb.dart (Run dartfmt to format lib/spine/time/time.pb.dart.)
  • lib/spine/time/time.pbenum.dart (Run dartfmt to format lib/spine/time/time.pbenum.dart.)
  • lib/spine/time/time.pbjson.dart (Run dartfmt to format lib/spine/time/time.pbjson.dart.)
  • lib/spine/time/time.pbserver.dart (Run dartfmt to format lib/spine/time/time.pbserver.dart.)
  • lib/spine/time/time_change.pb.dart (Run dartfmt to format lib/spine/time/time_change.pb.dart.)
  • lib/spine/time/time_change.pbenum.dart (Run dartfmt to format lib/spine/time/time_change.pbenum.dart.)
  • lib/spine/time/time_change.pbjson.dart (Run dartfmt to format lib/spine/time/time_change.pbjson.dart.)
  • lib/spine/time/time_change.pbserver.dart (Run dartfmt to format lib/spine/time/time_change.pbserver.dart.)
  • lib/spine/time_options.pb.dart (Run dartfmt to format lib/spine/time_options.pb.dart.)
  • lib/spine/time_options.pbenum.dart (Run dartfmt to format lib/spine/time_options.pbenum.dart.)
  • lib/spine/time_options.pbjson.dart (Run dartfmt to format lib/spine/time_options.pbjson.dart.)
  • lib/spine/time_options.pbserver.dart (Run dartfmt to format lib/spine/time_options.pbserver.dart.)
  • lib/spine/ui/color.pb.dart (Run dartfmt to format lib/spine/ui/color.pb.dart.)
  • lib/spine/ui/color.pbenum.dart (Run dartfmt to format lib/spine/ui/color.pbenum.dart.)
  • lib/spine/ui/color.pbjson.dart (Run dartfmt to format lib/spine/ui/color.pbjson.dart.)
  • lib/spine/ui/color.pbserver.dart (Run dartfmt to format lib/spine/ui/color.pbserver.dart.)
  • lib/spine/ui/language.pb.dart (Run dartfmt to format lib/spine/ui/language.pb.dart.)
  • lib/spine/ui/language.pbenum.dart (Run dartfmt to format lib/spine/ui/language.pbenum.dart.)
  • lib/spine/ui/language.pbjson.dart (Run dartfmt to format lib/spine/ui/language.pbjson.dart.)
  • lib/spine/ui/language.pbserver.dart (Run dartfmt to format lib/spine/ui/language.pbserver.dart.)
  • lib/spine/validate/validation_error.pb.dart (Run dartfmt to format lib/spine/validate/validation_error.pb.dart.)
  • lib/spine/validate/validation_error.pbenum.dart (Run dartfmt to format lib/spine/validate/validation_error.pbenum.dart.)
  • lib/spine/validate/validation_error.pbjson.dart (Run dartfmt to format lib/spine/validate/validation_error.pbjson.dart.)
  • lib/spine/validate/validation_error.pbserver.dart (Run dartfmt to format lib/spine/validate/validation_error.pbserver.dart.)
  • lib/spine/web/firebase/client.pb.dart (Run dartfmt to format lib/spine/web/firebase/client.pb.dart.)
  • lib/spine/web/firebase/client.pbenum.dart (Run dartfmt to format lib/spine/web/firebase/client.pbenum.dart.)
  • lib/spine/web/firebase/client.pbjson.dart (Run dartfmt to format lib/spine/web/firebase/client.pbjson.dart.)
  • lib/spine/web/firebase/client.pbserver.dart (Run dartfmt to format lib/spine/web/firebase/client.pbserver.dart.)
  • lib/spine/web/firebase/query/response.pb.dart (Run dartfmt to format lib/spine/web/firebase/query/response.pb.dart.)
  • lib/spine/web/firebase/query/response.pbenum.dart (Run dartfmt to format lib/spine/web/firebase/query/response.pbenum.dart.)
  • lib/spine/web/firebase/query/response.pbjson.dart (Run dartfmt to format lib/spine/web/firebase/query/response.pbjson.dart.)
  • lib/spine/web/firebase/query/response.pbserver.dart (Run dartfmt to format lib/spine/web/firebase/query/response.pbserver.dart.)
  • lib/spine/web/firebase/rest/client.pb.dart (Run dartfmt to format lib/spine/web/firebase/rest/client.pb.dart.)
  • lib/spine/web/firebase/rest/client.pbenum.dart (Run dartfmt to format lib/spine/web/firebase/rest/client.pbenum.dart.)
  • lib/spine/web/firebase/rest/client.pbjson.dart (Run dartfmt to format lib/spine/web/firebase/rest/client.pbjson.dart.)
  • lib/spine/web/firebase/rest/client.pbserver.dart (Run dartfmt to format lib/spine/web/firebase/rest/client.pbserver.dart.)
  • lib/spine/web/firebase/subscription/diff.pb.dart (Run dartfmt to format lib/spine/web/firebase/subscription/diff.pb.dart.)
  • lib/spine/web/firebase/subscription/diff.pbenum.dart (Run dartfmt to format lib/spine/web/firebase/subscription/diff.pbenum.dart.)
  • lib/spine/web/firebase/subscription/diff.pbjson.dart (Run dartfmt to format lib/spine/web/firebase/subscription/diff.pbjson.dart.)
  • lib/spine/web/firebase/subscription/diff.pbserver.dart (Run dartfmt to format lib/spine/web/firebase/subscription/diff.pbserver.dart.)
  • lib/spine/web/firebase/subscription/firebase_subscription.pb.dart (Run dartfmt to format lib/spine/web/firebase/subscription/firebase_subscription.pb.dart.)
  • lib/spine/web/firebase/subscription/firebase_subscription.pbenum.dart (Run dartfmt to format lib/spine/web/firebase/subscription/firebase_subscription.pbenum.dart.)
  • lib/spine/web/firebase/subscription/firebase_subscription.pbjson.dart (Run dartfmt to format lib/spine/web/firebase/subscription/firebase_subscription.pbjson.dart.)
  • lib/spine/web/firebase/subscription/firebase_subscription.pbserver.dart (Run dartfmt to format lib/spine/web/firebase/subscription/firebase_subscription.pbserver.dart.)
  • lib/src/any_packer.dart (Run dartfmt to format lib/src/any_packer.dart.)
  • lib/src/url.dart (Run dartfmt to format lib/src/url.dart.)
  • lib/time.dart (Run dartfmt to format lib/time.dart.)
  • lib/uuids.dart (Run dartfmt to format lib/uuids.dart.)
  • lib/web_firebase_client.dart (Run dartfmt to format lib/web_firebase_client.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (firebase).

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 spine_client.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.5.0 <3.0.0
firebase ^5.0.4 5.0.4 6.0.0
fixnum ^0.10.9 0.10.9
http ^0.12.0+2 0.12.0+2
protobuf ^1.0.0 1.0.0
uuid ^2.0.2 2.0.2
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.3
http_parser 3.1.3
js 0.6.1+1
meta 1.1.7
path 1.6.4
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
pedantic ^1.7.0 1.8.0+1
test ^1.6.0