toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final emitInterval = this.emitInterval;
  final enabled = this.enabled;
  final s3BucketName = this.s3BucketName;
  final s3BucketPrefix = this.s3BucketPrefix;
  return {
    if (emitInterval != null) 'EmitInterval': emitInterval,
    if (enabled != null) 'Enabled': enabled,
    if (s3BucketName != null) 'S3BucketName': s3BucketName,
    if (s3BucketPrefix != null) 'S3BucketPrefix': s3BucketPrefix,
  };
}