bodyAsDouble method
Converts the response data to a double.
Returns:
- The response data as a double.
Implementation
double bodyAsDouble() {
return (data as num).toDouble();
}
Converts the response data to a double.
Returns:
double bodyAsDouble() {
return (data as num).toDouble();
}