FFLocalStateUpdate constructor
FFLocalStateUpdate({
- @Deprecated('This field is deprecated.') FFIdentifier? localStateField,
- @Deprecated('This field is deprecated.') FFValue? setValue,
- @Deprecated('This field is deprecated.') FFLocalStateClearValue? clearValue,
- @Deprecated('This field is deprecated.') double? legacyIncrement,
- @Deprecated('This field is deprecated.') FFValue? addToList,
- @Deprecated('This field is deprecated.') FFValue? removeFromList,
- @Deprecated('This field is deprecated.') FFValue? increment,
- Iterable<
FFLocalStateFieldUpdate> ? updates, - @Deprecated('This field is deprecated.') bool? legacyUpdateSilently,
- FFLocalStateUpdate_UpdateType? updateType,
- FFStateVariableType? stateVariableType,
Implementation
factory FFLocalStateUpdate({
@$core.Deprecated('This field is deprecated.')
FFIdentifier? localStateField,
@$core.Deprecated('This field is deprecated.') FFValue? setValue,
@$core.Deprecated('This field is deprecated.')
FFLocalStateClearValue? clearValue,
@$core.Deprecated('This field is deprecated.')
$core.double? legacyIncrement,
@$core.Deprecated('This field is deprecated.') FFValue? addToList,
@$core.Deprecated('This field is deprecated.') FFValue? removeFromList,
@$core.Deprecated('This field is deprecated.') FFValue? increment,
$core.Iterable<FFLocalStateFieldUpdate>? updates,
@$core.Deprecated('This field is deprecated.')
$core.bool? legacyUpdateSilently,
FFLocalStateUpdate_UpdateType? updateType,
FFStateVariableType? stateVariableType,
}) {
final result = create();
if (localStateField != null) result.localStateField = localStateField;
if (setValue != null) result.setValue = setValue;
if (clearValue != null) result.clearValue = clearValue;
if (legacyIncrement != null) result.legacyIncrement = legacyIncrement;
if (addToList != null) result.addToList = addToList;
if (removeFromList != null) result.removeFromList = removeFromList;
if (increment != null) result.increment = increment;
if (updates != null) result.updates.addAll(updates);
if (legacyUpdateSilently != null)
result.legacyUpdateSilently = legacyUpdateSilently;
if (updateType != null) result.updateType = updateType;
if (stateVariableType != null) result.stateVariableType = stateVariableType;
return result;
}