toJson method

Map<String, dynamic> toJson()

Implementation

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