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