read method

Future<(UResponse<List<UNotificationResponse>>?, UEmptyResponse?, String?)> read({
  1. required UNotificationReadParams p,
  2. dynamic onOk(
    1. UResponse<List<UNotificationResponse>> r
    )?,
  3. dynamic onError(
    1. UEmptyResponse e
    )?,
  4. dynamic onException(
    1. String e
    )?,
})

Implementation

Future<(UResponse<List<UNotificationResponse>>?, UEmptyResponse?, String?)> read({
  required UNotificationReadParams p,
  Function(UResponse<List<UNotificationResponse>> r)? onOk,
  Function(UEmptyResponse e)? onError,
  Function(String e)? onException,
}) => _Api.call("/Notification/Read", p.toMap(), _Api.list(UNotificationResponse.fromMap), _Api.empty, onOk, onError, onException);