UpstreamCredentials.fromJson constructor

UpstreamCredentials.fromJson(
  1. Map json_
)

Implementation

UpstreamCredentials.fromJson(core.Map json_)
    : this(
        usernamePasswordCredentials:
            json_.containsKey('usernamePasswordCredentials')
                ? UsernamePasswordCredentials.fromJson(
                    json_['usernamePasswordCredentials']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );