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