fromAsync static method
Constructs an APIConfig
instance from o
, returning def
if o
is invalid.
(Async mode, allows async calls like URL resolution).
Implementation
static FutureOr<APIConfig?> fromAsync(dynamic o, [dynamic def]) =>
_fromImpl(o, allowAsync: true, def: def);