getUserInDept method

Future<List<UserInDept>> getUserInDept({
  1. required String userID,
  2. String? operationID,
})

获取成员所在的部门 userID 成员ID

Implementation

Future<List<UserInDept>> getUserInDept({
  required String userID,
  String? operationID,
}) =>
    _channel
        .invokeMethod(
            'getUserInDepartment',
            _buildParam({
              'userID': userID,
              'operationID': Utils.checkOperationID(operationID),
            }))
        .then((value) => Utils.toList(value, (v) => UserInDept.fromJson(v)));