newInstance method

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

Implementation

@override
DynamicWidgetModel newInstance(StorageConditionsModel conditions) {
  return DynamicWidgetModel(
      appId: appId,
      documentID: newRandomKey(),
      conditions: conditions,
      content: "",
      description: 'new dynamicWidget');
}