getChannelMessages static method
Implementation
static Future<String?> getChannelMessages(
String channelId
) async {
String? result = "";
try {
result = await _channel.invokeMethod(
'getChannelMessages',
<String, dynamic>{'channel_id': channelId});
return result;
} on PlatformException catch(e) {
print('Error = $e');
return "";
}
}