onSuccess property Null safety

(dynamic Function?(dynamic data, dynamic params)?) onSuccess
read / write

在 manual = false 时,refreshDeps 变化,会触发 service 重新执行 List? refreshDeps; future 成功 时触发,参数为 data 和 params

Implementation

Function(dynamic data, dynamic? params)? onSuccess;