afterSuccess method

void afterSuccess(
  1. TrayRequestResponse result
)

this is a hook, that can be overwritten to perform actions, after the request has been done successfully

Implementation

void afterSuccess(TrayRequestResponse result) {
  // do something after saving
}