documentOperationSummary method Null safety

String? documentOperationSummary(
  1. APIDocumentContext context,
  2. Operation? operation
)

Returns a documented summary for operation.

By default, this method returns null and the summary is derived from documentation comments above the operation method. You may override this method to manually add a summary to an operation.

Implementation

String? documentOperationSummary(
  APIDocumentContext context,
  Operation? operation,
) {
  return null;
}