FFTimer constructor
FFTimer({
- FFText? text,
- FFTimer_FFTimerType? type,
- FFTimer_FFTimerFormat? format,
- int? legacyPresetMilliseconds,
- int? legacyUpdateStateIntervalMs,
- FFIntegerValue? presetMillisecondsValue,
- FFIntegerValue? updateStateIntervalMsValue,
Implementation
factory FFTimer({
FFText? text,
FFTimer_FFTimerType? type,
FFTimer_FFTimerFormat? format,
$core.int? legacyPresetMilliseconds,
$core.int? legacyUpdateStateIntervalMs,
FFIntegerValue? presetMillisecondsValue,
FFIntegerValue? updateStateIntervalMsValue,
}) {
final result = create();
if (text != null) result.text = text;
if (type != null) result.type = type;
if (format != null) result.format = format;
if (legacyPresetMilliseconds != null)
result.legacyPresetMilliseconds = legacyPresetMilliseconds;
if (legacyUpdateStateIntervalMs != null)
result.legacyUpdateStateIntervalMs = legacyUpdateStateIntervalMs;
if (presetMillisecondsValue != null)
result.presetMillisecondsValue = presetMillisecondsValue;
if (updateStateIntervalMsValue != null)
result.updateStateIntervalMsValue = updateStateIntervalMsValue;
return result;
}