shouldNotReturnList property
InvalidGenerationSourceError
shouldNotReturnList
Implementation
InvalidGenerationSourceError get shouldNotReturnList =>
InvalidGenerationSourceError(
'$_methodType methods have to return a Future of either void or int but not a list.',
element: _methodElement,
);