call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FTimePickerStyle(...));

Implementation

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