toJson method

Map<String, dynamic> toJson()

Implementation

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