api method

dynamic api(
  1. dynamic request(
    1. WpNotifyApiService
    )
)

Send an api request from the service

Implementation

api(dynamic Function(WpNotifyApiService) request) async {
  return await request(WpNotifyApiService());
}