mirror of
https://github.com/esiur/esiur-dart.git
synced 2026-04-02 01:38:20 +00:00
34 lines
1.0 KiB
Markdown
34 lines
1.0 KiB
Markdown
# [EsiurDart](https://esiur.io/dart) · [](https://img.shields.io/github/license/esiur/esiur-dart) [](https://github.com/esiur/esiur-dart/pulls)
|
|
|
|
A Distributed Object Framework for Dart
|
|
|
|
## Getting Started
|
|
To use EsiurDart you will need an [Esiur.Net](https://github.com/esiur/esiur-dotnet) server instance running
|
|
|
|
## Examples
|
|
```dart
|
|
import 'package:esiur/esiur.dart';
|
|
|
|
// Get a resource instance
|
|
final resource =
|
|
await Warehouse.get('your-end-point (e.g. iip://esiur.io/test', { // Additional data (i.e my credentials)
|
|
'username': 'username',
|
|
'password': 'password',
|
|
});
|
|
|
|
// Get the name by id
|
|
final name = await resource.getNameById('1')
|
|
|
|
print(name);
|
|
|
|
```
|
|
|
|
## Contributing
|
|
|
|
The main purpose of this repository is to continue to evolve EsiurDart, making it faster and easier to use. Development of Esiur happens in the open on GitHub. We welcome all contributers.
|
|
|
|
|
|
### License
|
|
|
|
React is [MIT licensed](./LICENSE).
|