OnFail typedef Null safety

OnFail = void Function(dynamic message)

失败

Implementation

typedef OnFail = void Function(dynamic message);