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