Implementation
String get wireName {
switch (this) {
case TencentLocationErrorCode.unsupportedOnThisPlatform:
return 'unsupportedOnThisPlatform';
case TencentLocationErrorCode.invalidArgument:
return 'invalidArgument';
case TencentLocationErrorCode.timeout:
return 'timeout';
case TencentLocationErrorCode.nativeError:
return 'nativeError';
case TencentLocationErrorCode.privacyNotAgreed:
return 'privacyNotAgreed';
case TencentLocationErrorCode.apiKeyInvalid:
return 'apiKeyInvalid';
case TencentLocationErrorCode.sdkInitFailed:
return 'sdkInitFailed';
case TencentLocationErrorCode.permissionDenied:
return 'permissionDenied';
case TencentLocationErrorCode.locationSwitchOff:
return 'locationSwitchOff';
case TencentLocationErrorCode.alreadyStarted:
return 'alreadyStarted';
case TencentLocationErrorCode.locationFailed:
return 'locationFailed';
case TencentLocationErrorCode.geofenceInvalidRegion:
return 'geofenceInvalidRegion';
case TencentLocationErrorCode.geofenceDistrictNotFound:
return 'geofenceDistrictNotFound';
case TencentLocationErrorCode.geofenceDuplicateId:
return 'geofenceDuplicateId';
case TencentLocationErrorCode.geofenceNetworkFailed:
return 'geofenceNetworkFailed';
case TencentLocationErrorCode.geofenceLimitExceeded:
return 'geofenceLimitExceeded';
case TencentLocationErrorCode.geofenceIdNotFound:
return 'geofenceIdNotFound';
}
}