newInstance method

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

Implementation

@override
FeedFrontModel newInstance(StorageConditionsModel conditions) {
  return FeedFrontModel(
      appId: appId,
      documentID: newRandomKey(),
      description: 'New feed front',
      conditions: conditions);
}