getMessage property Null safety

Future<String?> getMessage

Implementation

static Future<String?> get getMessage async {
  final Object? messages = await _channel.invokeMethod('getMessages');
  return messages.toString();
}