getLatestLinkString method

  1. @override
Future<String?> getLatestLinkString()
override

Gets the latest link

returns Uri as String or null

Implementation

@override
Future<String?> getLatestLinkString() async {
  final link = await _method.invokeMethod<String?>('getLatestLink');
  return link != null && link.isNotEmpty ? link : null;
}