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