SnapshotUpdateKmsKeyRequest.fromJson constructor

SnapshotUpdateKmsKeyRequest.fromJson(
  1. Object? j
)

Implementation

factory SnapshotUpdateKmsKeyRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return SnapshotUpdateKmsKeyRequest(
    kmsKeyName: switch (json['kmsKeyName']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}