AccessKeyCredentials.fromJson constructor

AccessKeyCredentials.fromJson(
  1. Map json_
)

Implementation

AccessKeyCredentials.fromJson(core.Map json_)
    : this(
        accessKeyId: json_.containsKey('accessKeyId')
            ? json_['accessKeyId'] as core.String
            : null,
        secretAccessKey: json_.containsKey('secretAccessKey')
            ? json_['secretAccessKey'] as core.String
            : null,
        sessionToken: json_.containsKey('sessionToken')
            ? json_['sessionToken'] as core.String
            : null,
      );