login abstract method

Future<void> login(
  1. String userID,
  2. ZIMLoginConfig config
)

Login, you must log in before using all functions. userID Unique ID used to identify the user. Note that the userID must be unique under the same appID, otherwise mutual kicks out will occur. config login config.

Implementation

Future<void> login(String userID,ZIMLoginConfig config);