notifyText function

Future<bool> notifyText(
  1. BuildContext context,
  2. String? atSign,
  3. String? sendToAtSign,
  4. String? message,
)

Notify Text

Implementation

Future<bool> notifyText(
  BuildContext context,
  String? atSign,
  String? sendToAtSign,
  String? message,
) async {
  var _res = await _notifyService.sendNotify(
      sendToAtSign!,
      Notify(
        time: DateTime.now().millisecondsSinceEpoch,
        atSign: atSign,
        message: message,
      ),
      NotifyEnum.notifyText);
  return _res;
}