refresh method
refresh()
- Returns
NamebaseResponse
with records (List<DNSRecord>
) and success (bool
)
Implementation
Future<NamebaseResponse> refresh() async {
var resp = await get(apiUrl + apiDnsEndpoint, headers: authHeaders);
return NamebaseResponse.fromResponse(resp);
}