basePath property

String get basePath

The api.video environment url basePath.

Implementation

String get basePath {
  switch (this) {
    case Environment.sandbox:
      return 'https://sandbox.api.video';
    case Environment.production:
      return 'https://ws.api.video';
    default:
      throw Exception('Unknown environment');
  }
}