call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FRadioStyle(...));

Implementation

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