replayAssemblyNotification method

Future<TransloaditResponse> replayAssemblyNotification({
  1. required String assemblyID,
  2. Map<String, dynamic>? params,
})

Replays an Assembly Notification of a given assemblyID

Implementation

Future<TransloaditResponse> replayAssemblyNotification(
    {required String assemblyID, Map<String, dynamic>? params}) {
  params = params ?? {};

  String url = '/assembly_notifications/$assemblyID/replay';
  return request.httpPost(
      service: service, assemblyPath: url, params: params);
}