ApiService constructor

const ApiService({
  1. String baseUrl = 'https://smartpub-worker.smartpub.workers.dev',
})

Creates an API service

Implementation

const ApiService({
  this.baseUrl = 'https://smartpub-worker.smartpub.workers.dev',
});