setCustomValue method

  1. @override
dynamic setCustomValue(
  1. String messageId,
  2. String key,
  3. String value
)
override

Implementation

@override
setCustomValue(String messageId, String key, String value) async {
  try {
    await mirrorFlyMethodChannel.invokeMethod('setCustomValue',
        {"message_id": messageId, "key": key, "value": value});
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}