OnStatus typedef

OnStatus = void Function(int? type, int? platform, int? status, String? msg)

状态 type 类型 platform 平台 status 状态 msg 错误消息 (失败时有效)

Implementation

typedef OnStatus = void Function(
    int? type, int? platform, int? status, String? msg);