TUICallback constructor

const TUICallback({
  1. void onSuccess()?,
  2. void onError(
    1. int code,
    2. String message
    )?,
})

Implementation

const TUICallback({this.onSuccess, this.onError});