getErrorString method
Returns a human-readable string of the error code.
Implementation
Future<String> getErrorString() async {
if (GoogleApiAvailabilityPlatform.instance == null) {
throw UnsupportedError('This platform is not supported.');
}
final errorString =
await GoogleApiAvailabilityPlatform.instance!.getErrorString();
return errorString;
}