BatchDisassociateScramSecretResponse.fromJson constructor

BatchDisassociateScramSecretResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BatchDisassociateScramSecretResponse.fromJson(
    Map<String, dynamic> json) {
  return BatchDisassociateScramSecretResponse(
    clusterArn: json['clusterArn'] as String?,
    unprocessedScramSecrets: (json['unprocessedScramSecrets'] as List?)
        ?.whereNotNull()
        .map(
            (e) => UnprocessedScramSecret.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}