newInstance method

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

Implementation

@override
PresentationModel newInstance(StorageConditionsModel conditions) {
  return PresentationModel(
    appId: appId,
    description: 'New presentation',
    documentID: newRandomKey(),
    conditions: conditions,
  );
}