getFeatureOnlineStore method

  1. @override
Future<FeatureOnlineStore> getFeatureOnlineStore(
  1. GetFeatureOnlineStoreRequest request
)
override

Gets details of a single FeatureOnlineStore.

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<FeatureOnlineStore> getFeatureOnlineStore(
  GetFeatureOnlineStoreRequest request,
) async {
  if (isClosed) throw StateError('Service is closed');

  if (_getFeatureOnlineStore case final getFeatureOnlineStore?) {
    return getFeatureOnlineStore(request);
  }
  throw UnsupportedError('getFeatureOnlineStore');
}