newInstance method

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

Implementation

@override
FollowingDashboardModel newInstance(StorageConditionsModel conditions) {
  return FollowingDashboardModel(
    appId: appId,
    documentID: newRandomKey(),
    description: 'Following dashboard',
    conditions: conditions,
  );
}