call method

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

Returns itself.

Allows FPaginationStyle to replace functions that accept and return a FPaginationStyle, such as a style's copyWith(...) function.

Example

Given:

void copyWith(FPaginationStyle Function(FPaginationStyle) nestedStyle) {}

The following:

copyWith((style) => FPaginationStyle(...));

Can be replaced with:

copyWith(FPaginationStyle(...));

Implementation

@useResult
FPaginationStyle call(Object? _) => this as FPaginationStyle;