newInstance method

  1. @override
FaderModel newInstance(
  1. StorageConditionsModel conditions
)
override

Implementation

@override
FaderModel newInstance(StorageConditionsModel conditions) {
  return FaderModel(
    appId: appId,
    description: 'New fader',
    documentID: newRandomKey(),
    animationMilliseconds: 1000,
    imageSeconds: 1,
    items: [],
    conditions: conditions,
  );
}