system method

Future<void> system({
  1. required String text,
  2. String? subject,
})

Presents the system share sheet with text.

Implementation

Future<void> system({required String text, String? subject}) async {
  try {
    await _shareText(text, subject: subject);
  } catch (e) {
    throw ClikgateException(ClikgateEngageErrors.shareUnavailable, 'Could not share: $e');
  }
}