setDefaultValues method

  1. @override
FollowRequestsDashboardModel setDefaultValues(
  1. FollowRequestsDashboardModel t,
  2. StorageConditionsModel conditions
)
override

Implementation

@override
FollowRequestsDashboardModel setDefaultValues(
    FollowRequestsDashboardModel t, StorageConditionsModel conditions) {
  return t.copyWith(
      conditions: t.conditions ??
          StorageConditionsModel(
              privilegeLevelRequired:
                  PrivilegeLevelRequiredSimple.noPrivilegeRequiredSimple));
}