sentFileMessage method

  1. @override
Future sentFileMessage(
  1. String? file,
  2. String jid
)
override

Implementation

@override
Future<dynamic> sentFileMessage(String? file, String jid) async {
  var re = "";
  try {
    final result = await mirrorFlyMethodChannel
        .invokeMethod("sent file", {"file": file, "jid": jid, "message": ""});
    debugPrint('RESULT $result');
    return result;
  } on PlatformException catch (e) {
    debugPrint("er $e");
    return re;
  }
}