newInstance method

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

Implementation

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