Skip to content

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

License

Notifications You must be signed in to change notification settings

truenary/retack_pkg_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Learn more: Retack.AI

Getting started

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

final RetackConfig retackConfig = RetackConfig('YOUR_ENV_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 falseEnvKey = 'YOUR_ENV_KEY';
final RetackClient client = RetackClient(RetackConfig(falseEnvKey));

try {
    throw const FormatException('Format Exception');
} catch (_, __) {
    final bool resp = await client.reportError(
        _.toString(),
        __,
        userContext: UserContext(userName: '[email protected]'),
    );
}
  

Additional information

Retack.AI is powered by Truenary

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  

Languages