Ray dart is a library to enable sending data to the Ray app by Spatie. It does not yet have feature parity with other implementations such as spatie/ray-php but it is mostly there.
Getting started
Install the package as you would any other dart package.
# Locally
dart pub add ray_dart
# Globally
dart pub global activate ray_dart
Usage
import 'package:ray_dart/ray_dart.dart';
ray('some literal string');
ray([1, 2, 3, 4])..clearScreen()..showApp();
ray().hide();
// etc
Testing
Tests are a WIP and at the moment only include a single test group.
Regardless, to test:
dart test
License
The MIT License (MIT). Please see License File for more information.