call method

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

Returns itself.

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

Example

Given:

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

The following:

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

Can be replaced with:

copyWith(FFormFieldStyle(...));

Implementation

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