retack 0.0.1 copy "retack: ^0.0.1" to clipboard
retack: ^0.0.1 copied to clipboard

Flutter SDK to handle API calls to retack.ai for posting exceptions & errors

A Dart package to report application errors & exceptions to Retack.AI for Flutter and Dart applications.

What is Retack AI? #

Retack AI is a new generation Application error monitoring and tracking platform which not only helps you monitor errors wherever they occur but also has an advanced AI support to instantly fix your code repository.

Getting started #

Start by creating an instance of RetackClient class by providing your YOUR_API_KEY.

final RetackConfig retackConfig = RetackConfig('YOUR_API_KEY');
final RetackClient retackClient = RetackClient(retackConfig);

You can now make use of reportError function to report errors wherever they occur in your application

You can also pass UserContext as additional optional parameter to send further info about current error and affected User.

Usage Example #

Here's a sample example for reference:


final String falseApiKey = 'YOUR_API_KEY';
final RetackClient client = RetackClient(RetackConfig(falseApiKey));

try {
    throw const FormatException('Format Exception');
} catch (_, __) {
    final bool resp = await client.reportError(
        _.toString(),
        __,
        userContext: UserContext(userName: 'user@retack.io'),
    );
}
  

Additional information #

Learn more: Retack.AI Retack.AI is powere by Truenary

1
likes
0
pub points
54%
popularity

Publisher

verified publishertruenary.com

Flutter SDK to handle API calls to retack.ai for posting exceptions & errors

Homepage

License

unknown (license)

Dependencies

http

More

Packages that depend on retack