WPNotifyAPI class
The WPNotifyAPI class is used to configure the WPNotify package.
Properties
- baseUrl ↔ String?
-
Base URL for the API
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldDebug ↔ bool?
-
Debug mode
getter/setter pair
- wpJsonPath ↔ String?
-
Path to the WP JSON API
getter/setter pair
Methods
-
api(
dynamic request(WpNotifyApiService)) → dynamic - Send an api request from the service
-
getBaseApi(
) → String - Returns the base API URL
-
initWith(
{required String baseUrl, String wpJsonPath = '/wp-json', bool shouldDebug = true}) → dynamic -
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
Static Properties
- instance → WPNotifyAPI
-
final
- version → String
-
Returns the current version of the MediaPro package
no setter