getLastCallData static method

Future<Map<String, dynamic>?> getLastCallData()

Implementation

static Future<Map<String, dynamic>?> getLastCallData() async {
  if (!Platform.isAndroid) return Future.value();

  return _channel.invokeMethod("getLastCallData").then((data) {
    if (data == null) {
      return Future.value(null);
    }
    return Future.value(Map<String, dynamic>.from(data));
  });
}