esyur 1.2.3

  • Readme
  • Changelog
  • Installing
  • 53

Esyur #

Distributed Object Framework

Getting Started #

For help getting started with Esyur, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

[1.2.3] - Release #

Improved property updating

[1.2.2] - Hotfix #


[1.2.1] - Release. #

Reconnect error handling

[1.2.0] - Release. #

Added resume connection

[1.1.9] - Release. #

Added new property event

[1.0.0] - Release. #

  • Initial release.

Use this package as a library

1. Depend on it

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

  esyur: ^1.2.3

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:esyur/esyur.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 Jun 5, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.2
  • pana: 0.13.8-dev

Health suggestions

Fix lib/src/Net/IIP/DistributedConnection.dart. (-16.93 points)

Analysis of lib/src/Net/IIP/DistributedConnection.dart reported 37 hints, including:

line 95 col 15: The value of the field '_packet' isn't used.

line 157 col 26: Don't explicitly initialize variables to null.

line 380 col 21: Unnecessary cast.

line 702 col 33: The value of the local variable 'remoteHash' isn't used.

line 856 col 13: The value of the local variable 'packs' isn't used.

Fix lib/src/Resource/Instance.dart. (-7.24 points)

Analysis of lib/src/Resource/Instance.dart reported 15 hints, including:

line 2 col 8: Unused import: '../Data/DC.dart'.

line 16 col 8: Unused import: './Template/FunctionTemplate.dart'.

line 17 col 8: Unused import: './Template/EventTemplate.dart'.

line 57 col 28: Don't explicitly initialize variables to null.

line 70 col 30: Don't explicitly initialize variables to null.

Fix lib/src/Resource/Warehouse.dart. (-6.78 points)

Analysis of lib/src/Resource/Warehouse.dart reported 14 hints, including:

line 244 col 50: Don't explicitly initialize variables to null.

line 244 col 69: Don't explicitly initialize variables to null.

line 244 col 94: Don't explicitly initialize variables to null.

line 371 col 55: Don't explicitly initialize variables to null.

line 371 col 76: Don't explicitly initialize variables to null.

Fix additional 71 files with analysis or formatting issues. (-25.80 points)

Additional issues in the following files:

  • lib/src/Resource/Template/ResourceTemplate.dart (10 hints)
  • lib/src/Data/Codec.dart (7 hints)
  • lib/src/Data/BinaryList.dart (5 hints)
  • lib/src/Net/NetworkConnection.dart (4 hints)
  • lib/src/Security/Integrity/SHA256.dart (4 hints)
  • lib/src/Net/IIP/DistributedPropertyContext.dart (2 hints)
  • lib/src/Net/Sockets/IPEndPoint.dart (2 hints)
  • lib/src/Core/AsyncBag.dart (1 hint)
  • lib/src/Core/AsyncException.dart (1 hint)
  • lib/src/Core/AsyncQueue.dart (1 hint)
  • lib/src/Core/AsyncReply.dart (1 hint)
  • lib/src/Data/DC.dart (1 hint)
  • lib/src/Data/KeyList.dart (1 hint)
  • lib/src/Net/IIP/DistributedResource.dart (1 hint)
  • lib/src/Net/IIP/DistributedResourceQueueItem.dart (1 hint)
  • lib/src/Net/NetworkBuffer.dart (1 hint)
  • lib/src/Net/Packets/IIPPacket.dart (1 hint)
  • lib/src/Resource/Template/MemberTemplate.dart (1 hint)
  • lib/src/Resource/Template/PropertyTemplate.dart (1 hint)
  • lib/src/Security/Authority/Authentication.dart (1 hint)
  • lib/src/Security/Authority/ClientAuthentication.dart (1 hint)
  • lib/src/Security/Authority/CoHostAuthentication.dart (1 hint)
  • lib/src/Security/Authority/HostAuthentication.dart (1 hint)
  • lib/src/Security/Authority/Source.dart (1 hint)
  • lib/src/Security/Permissions/IPermissionsManager.dart (1 hint)
  • lib/esyur.dart (Run flutter format to format lib/esyur.dart.)
  • lib/src/Core/ErrorType.dart (Run flutter format to format lib/src/Core/ErrorType.dart.)
  • lib/src/Core/ExceptionCode.dart (Run flutter format to format lib/src/Core/ExceptionCode.dart.)
  • lib/src/Core/IDestructible.dart (Run flutter format to format lib/src/Core/IDestructible.dart.)
  • lib/src/Core/IEventHandler.dart (Run flutter format to format lib/src/Core/IEventHandler.dart.)
  • lib/src/Core/ProgressType.dart (Run flutter format to format lib/src/Core/ProgressType.dart.)
  • lib/src/Data/AutoList.dart (Run flutter format to format lib/src/Data/AutoList.dart.)
  • lib/src/Data/DataType.dart (Run flutter format to format lib/src/Data/DataType.dart.)
  • lib/src/Data/Guid.dart (Run flutter format to format lib/src/Data/Guid.dart.)
  • lib/src/Data/KeyValuePair.dart (Run flutter format to format lib/src/Data/KeyValuePair.dart.)
  • lib/src/Data/NotModified.dart (Run flutter format to format lib/src/Data/NotModified.dart.)
  • lib/src/Data/PropertyValue.dart (Run flutter format to format lib/src/Data/PropertyValue.dart.)
  • lib/src/Data/ResourceComparisonResult.dart (Run flutter format to format lib/src/Data/ResourceComparisonResult.dart.)
  • lib/src/Data/SizeObject.dart (Run flutter format to format lib/src/Data/SizeObject.dart.)
  • lib/src/Data/Structure.dart (Run flutter format to format lib/src/Data/Structure.dart.)
  • lib/src/Data/StructureComparisonResult.dart (Run flutter format to format lib/src/Data/StructureComparisonResult.dart.)
  • lib/src/Data/StructureMetadata.dart (Run flutter format to format lib/src/Data/StructureMetadata.dart.)
  • lib/src/Data/ValueObject.dart (Run flutter format to format lib/src/Data/ValueObject.dart.)
  • lib/src/Net/IIP/DistributedResourceQueueItemType.dart (Run flutter format to format lib/src/Net/IIP/DistributedResourceQueueItemType.dart.)
  • lib/src/Net/Packets/IIPAuthPacket.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacket.dart.)
  • lib/src/Net/Packets/IIPAuthPacketAction.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacketAction.dart.)
  • lib/src/Net/Packets/IIPAuthPacketCommand.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacketCommand.dart.)
  • lib/src/Net/Packets/IIPAuthPacketMethod.dart (Run flutter format to format lib/src/Net/Packets/IIPAuthPacketMethod.dart.)
  • lib/src/Net/Packets/IIPPacketAction.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketAction.dart.)
  • lib/src/Net/Packets/IIPPacketCommand.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketCommand.dart.)
  • lib/src/Net/Packets/IIPPacketEvent.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketEvent.dart.)
  • lib/src/Net/Packets/IIPPacketReport.dart (Run flutter format to format lib/src/Net/Packets/IIPPacketReport.dart.)
  • lib/src/Net/SendList.dart (Run flutter format to format lib/src/Net/SendList.dart.)
  • lib/src/Net/Sockets/ISocket.dart (Run flutter format to format lib/src/Net/Sockets/ISocket.dart.)
  • lib/src/Net/Sockets/SocketState.dart (Run flutter format to format lib/src/Net/Sockets/SocketState.dart.)
  • lib/src/Net/Sockets/TCPSocket.dart (Run flutter format to format lib/src/Net/Sockets/TCPSocket.dart.)
  • lib/src/Net/Sockets/Websocket.dart (Run flutter format to format lib/src/Net/Sockets/Websocket.dart.)
  • lib/src/Resource/IResource.dart (Run flutter format to format lib/src/Resource/IResource.dart.)
  • lib/src/Resource/IStore.dart (Run flutter format to format lib/src/Resource/IStore.dart.)
  • lib/src/Resource/ResourceTrigger.dart (Run flutter format to format lib/src/Resource/ResourceTrigger.dart.)
  • lib/src/Resource/StorageMode.dart (Run flutter format to format lib/src/Resource/StorageMode.dart.)
  • lib/src/Resource/Template/EventTemplate.dart (Run flutter format to format lib/src/Resource/Template/EventTemplate.dart.)
  • lib/src/Resource/Template/FunctionTemplate.dart (Run flutter format to format lib/src/Resource/Template/FunctionTemplate.dart.)
  • lib/src/Resource/Template/MemberType.dart (Run flutter format to format lib/src/Resource/Template/MemberType.dart.)
  • lib/src/Resource/Template/PropertyPermission.dart (Run flutter format to format lib/src/Resource/Template/PropertyPermission.dart.)
  • lib/src/Security/Authority/AuthenticationState.dart (Run flutter format to format lib/src/Security/Authority/AuthenticationState.dart.)
  • lib/src/Security/Authority/AuthenticationType.dart (Run flutter format to format lib/src/Security/Authority/AuthenticationType.dart.)
  • lib/src/Security/Authority/Session.dart (Run flutter format to format lib/src/Security/Authority/Session.dart.)
  • lib/src/Security/Authority/SourceAttributeType.dart (Run flutter format to format lib/src/Security/Authority/SourceAttributeType.dart.)
  • lib/src/Security/Permissions/ActionType.dart (Run flutter format to format lib/src/Security/Permissions/ActionType.dart.)
  • lib/src/Security/Permissions/Ruling.dart (Run flutter format to format lib/src/Security/Permissions/Ruling.dart.)

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
Dev dependencies
test ^1.14.2