call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FTextFieldStyle(...));

Implementation

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