toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final nonKeyAttributes = this.nonKeyAttributes;
  final projectionType = this.projectionType;
  return {
    if (nonKeyAttributes != null) 'NonKeyAttributes': nonKeyAttributes,
    if (projectionType != null) 'ProjectionType': projectionType.toValue(),
  };
}