UsernamePasswordCredentials.fromJson constructor

UsernamePasswordCredentials.fromJson(
  1. Map json_
)

Implementation

UsernamePasswordCredentials.fromJson(core.Map json_)
    : this(
        passwordSecretVersion: json_.containsKey('passwordSecretVersion')
            ? json_['passwordSecretVersion'] as core.String
            : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );