enterConversation method Null safety

Future<void> enterConversation(
  1. {required dynamic target}
)

Implementation

Future<void> enterConversation({
  required dynamic target, //(JMSingle | JMGroup)
}) async {
  if (_platform.isAndroid) {
    Map param = target.toJson();
    await _channel.invokeMethod('enterConversation',
        param..removeWhere((key, value) => value == null));
  }

  return;
}