getDeviceDetails method
Implementation
Future<NetworkResponse<DeviceDetailsResponse>> getDeviceDetails(
String deviceId) async {
return _safeCall(() async {
final resp = await _dio.get('/ezyRetail/devices/$deviceId');
return NetworkSuccess(
DeviceDetailsResponse.fromJson(_requireJsonMap(resp.data)));
});
}