fromUri static method

FutureOr<APIConfig?> fromUri(
  1. Uri uri, {
  2. bool allowAsync = true,
})

Constructs an APIConfig instance from an [uri If allowAsync ir true allows async resolution, like URL download.

Implementation

static FutureOr<APIConfig?> fromUri(Uri uri, {bool allowAsync = true}) =>
    loadAPIConfigFromUri(uri, allowAsync: allowAsync);