newInstance method

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

Implementation

@override
TutorialModel newInstance(StorageConditionsModel conditions) {
  return TutorialModel(
    appId: appId,
    documentID: newRandomKey(),
    name: 'new tutorial',
    title: 'new totorial',
    description: 'new tutorial',
    conditions: conditions,
  );
}