presentConversation method

  1. @override
Future<void> presentConversation(
  1. String conversationId
)
override

Presents the messenger on one conversation. See AppwinSupport.presentConversation.

Implementation

@override
Future<void> presentConversation(String conversationId) async {
  if (conversationId.trim().isEmpty) {
    throw ArgumentError.value(
      conversationId,
      'conversationId',
      'must not be blank',
    );
  }
  await methodChannel.invokeMethod<void>('presentConversation', {
    'conversationId': conversationId,
  });
}