setUser method

Future<void> setUser({
  1. required String id,
  2. required String email,
})

Implementation

Future<void> setUser({
  required String id,
  required String email,
}) async {
  appLogsNS("setUser:$id");
  await setUserId(
    id: id,
  );
  await setUserProperty(
    name: 'email',
    value: email,
  );
  _userInfo = {
    ConstKeys.id: id,
    ConstKeys.email: email,
  };
}