ListUserGroupsRequest constructor

ListUserGroupsRequest({
  1. String? userId,
  2. Int32Value? limit,
  3. Int32Value? state,
  4. String? cursor,
})

Implementation

factory ListUserGroupsRequest({
  $core.String? userId,
  $1.Int32Value? limit,
  $1.Int32Value? state,
  $core.String? cursor,
}) {
  final _result = create();
  if (userId != null) {
    _result.userId = userId;
  }
  if (limit != null) {
    _result.limit = limit;
  }
  if (state != null) {
    _result.state = state;
  }
  if (cursor != null) {
    _result.cursor = cursor;
  }
  return _result;
}