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