LocalDevelopmentHttpDataBackend method

dynamic LocalDevelopmentHttpDataBackend ()

Implementation

LocalDevelopmentHttpDataBackend() {
  baseEndpoint = getBaseEndpoint();
  String creditCardScope = baseEndpoint + '/card';
  creditCardCreationEndpoint = creditCardScope + '/add';
  creditCardFetchEndpoint = creditCardScope + '/fetch';
  creditCardRemovalEndpoint = creditCardScope + '/remove';
  String promotionScope = baseEndpoint + '/promo';
  promotionAdditionEndpoint = promotionScope + '/add';
  promotionRemovalEndpoint = promotionScope + '/remove';
  loggingNamspace = 'service.data_backend.http.local_development';
}