@override Future<int> getMessageCount() async { return await methodChannel.invokeMethod<int?>('getMessageCount') ?? 0; }