getFeatureViewSync method

  1. @override
Future<FeatureViewSync> getFeatureViewSync(
  1. GetFeatureViewSyncRequest request
)
override

Gets details of a single FeatureViewSync.

Throws a http.ClientException if there were problems communicating with the API service. Throws a ServiceException if the API method failed for any reason.

Implementation

@override
Future<FeatureViewSync> getFeatureViewSync(
  GetFeatureViewSyncRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getFeatureViewSync case final getFeatureViewSync?) {
    return getFeatureViewSync(request);
  }
  throw UnsupportedError('getFeatureViewSync');
}