AwsDynamoDbTableProjection.fromJson constructor

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

Implementation

factory AwsDynamoDbTableProjection.fromJson(Map<String, dynamic> json) {
  return AwsDynamoDbTableProjection(
    nonKeyAttributes: (json['NonKeyAttributes'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    projectionType: json['ProjectionType'] as String?,
  );
}