pinConversation method Null safety

Future<V2TimCallback> pinConversation(
  1. {required String conversationID,
  2. required bool isPinned}
)

Pin a conversation to the top

Implementation

Future<V2TimCallback> pinConversation({
  required String conversationID,
  required bool isPinned,
}) async {
  return ImFlutterPlatform.instance
      .pinConversation(conversationID: conversationID, isPinned: isPinned);
}