toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final exportConfigType = this.exportConfigType;
  final s3Destination = this.s3Destination;
  return {
    if (exportConfigType != null)
      'exportConfigType': exportConfigType.toValue(),
    if (s3Destination != null) 's3Destination': s3Destination,
  };
}