call method
Returns itself.
Allows FItemGroupStyle to replace functions that accept and return a FItemGroupStyle, such as a style's
copyWith(...)
function.
Example
Given:
void copyWith(FItemGroupStyle Function(FItemGroupStyle) nestedStyle) {}
The following:
copyWith((style) => FItemGroupStyle(...));
Can be replaced with:
copyWith(FItemGroupStyle(...));
Implementation
@useResult
FItemGroupStyle call(Object? _) => this as FItemGroupStyle;