HttpResponse.success(this.data, {Map<String, dynamic>? response, String? reqmsg}) { ok = true; msg = reqmsg; if (response != null) { this.response = response; } }