ListUserRequest class final
Constructors
-
ListUserRequest({RequestContext? context, int page = 1, int perPage = 10, String? search, List<
int> ? exclude, List<int> ? include, int? resultOffset, Order? order, OrderBy? orderBy, List<int> ? slug, int? roles, String? who, CancelToken? cancelToken, IAuthorization? authorization, WordpressEvents? events, Duration receiveTimeout = const Duration(seconds: 30), bool requireAuth = false, Duration sendTimeout = const Duration(seconds: 30), ValidatorCallback? validator, Map<String, dynamic> ? extra, Map<String, String> ? headers, Map<String, dynamic> ? queryParameters})
Properties
-
The authorization to use for the request.
finalinherited
- cancelToken → CancelToken?
-
The cancel token to cancel the request.
finalinherited
- context ↔ RequestContext?
-
getter/setter pair
- events → WordpressEvents?
-
The events to listen to.
finalinherited
-
exclude
↔ List<
int> ? -
getter/setter pair
-
extra
→ Map<
String, dynamic> ? -
Allows you to pass custom key value pairs with the requests.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> ? -
The extra headers to send with the request.
finalinherited
-
include
↔ List<
int> ? -
getter/setter pair
- order ↔ Order?
-
getter/setter pair
- orderBy ↔ OrderBy?
-
getter/setter pair
- page ↔ int
-
getter/setter pair
- perPage ↔ int
-
getter/setter pair
-
queryParameters
→ Map<
String, dynamic> ? -
The query parameters to send with the request.
finalinherited
- receiveTimeout → Duration
-
The timeout duration for receiving the response.
finalinherited
- requireAuth → bool
-
Whether the request requires authentication.
finalinherited
- resultOffset ↔ int?
-
getter/setter pair
- roles ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search ↔ String?
-
getter/setter pair
- sendTimeout → Duration
-
The timeout duration for sending the request.
finalinherited
-
slug
↔ List<
int> ? -
getter/setter pair
- validator → ValidatorCallback?
-
The validator to validate the response.
finalinherited
- who ↔ String?
-
getter/setter pair
Methods
-
build(
Uri baseUrl) → WordpressRequest -
Builds the request content.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → String -
inherited