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