call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FCheckboxStyle(...));

Implementation

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