Method.returnsVoid constructor Null safety
- [void updates( )?]
Implementation
factory Method.returnsVoid([void Function(MethodBuilder)? updates]) =>
Method((b) {
if (updates != null) {
updates(b);
}
b.returns = _$void;
});