toJson method
Implementation
Map<String, dynamic> toJson() {
final streamArn = this.streamArn;
final aggregationEnabled = this.aggregationEnabled;
return {
'StreamArn': streamArn,
if (aggregationEnabled != null) 'AggregationEnabled': aggregationEnabled,
};
}