call method
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;