login static method

Future<void> login(
  1. String userId
)

Log in user

Implementation

static Future<void> login(String userId) async {
  await _invokeMethod('login', {"userId": userId});
}