HzyNormalResponse.success constructor
HzyNormalResponse.success({})
Implementation
HzyNormalResponse.success({
required dynamic netData,
Map<String, dynamic>? response,
String reqMsg = "请求成功",
}) {
data = netData;
msg = reqMsg;
ok = true;
if (response != null) {
this.response = response;
}
}