PatchbayInvocation.rejected constructor

PatchbayInvocation.rejected({
  1. required String requestId,
  2. required PatchbayRejection rejection,
})

Implementation

factory PatchbayInvocation.rejected({
  required String requestId,
  required PatchbayRejection rejection,
}) => PatchbayInvocation._(
  requestId: requestId,
  admission: PatchbayAdmission.rejected,
  payload: const <String, Object?>{},
  notice: rejection.notice,
  rejection: rejection,
);