ApiInOutCreator<T> typedef
ApiInOutCreator<T> =
T? Function(RequestContext context)
Function to create a DTO for input and output to an API.
Implementation
typedef ApiInOutCreator<T> = T? Function(RequestContext context);