getIpAddress method
Get IpAddress in map format.
Implementation
@override
Future<Map<String, dynamic>> getIpAddress() async {
try {
Map<String, dynamic> data = await _remoteHandler.getIpAddress();
return {'ip': data};
} catch (_) {
throw Exception('Not able to find the Ip Address.');
}
}