call method

  1. @useResult
FBottomNavigationBarStyle call(
  1. Object? _
)
inherited

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;