constants library

Constants

URL_CATEGORIES → const String
'$URL_WP_BASE/categories'
URL_COMMENTS → const String
'$URL_WP_BASE/comments'
URL_JWT_BASE → const String
'/wp-json/jwt-auth/v1'
URL_JWT_TOKEN → const String
'$URL_JWT_BASE/token'
URL_JWT_TOKEN_VALIDATE → const String
'$URL_JWT_BASE/token/validate'
URL_MEDIA → const String
'$URL_WP_BASE/media'
URL_PAGES → const String
'$URL_WP_BASE/pages'
URL_POSTS → const String
'$URL_WP_BASE/posts'
URL_TAGS → const String
'$URL_WP_BASE/tags'
URL_USERS → const String
'$URL_WP_BASE/users'
URL_WP_BASE → const String
'/wp-json/wp/v2'

Functions

constructUrlParams(Map<String, String> params) → String
Formats a Map of parameters to a string of URL friendly parameters.
enumStringToName(String enumString) → String
Converts an enum string to enum value name.
listToUrlString<T>(List<T> items) → String
Formats a list of items to a comma(,) separated string to pass it as a URL parameter.

Enums

CategoryTagOrderBy
CommentOrderBy
CommentStatus
CommentType
MediaOrderBy
MediaStatus
MediaType
Order
PageOrderBy
PostCommentStatus
PostFormat
PostOrderBy
PostPageStatus
PostPingStatus
UserOrderBy
UserRole
WordPressAuthenticator
WordPressContext