newInstance method

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

Implementation

@override
DividerModel newInstance(StorageConditionsModel conditions) {
  return DividerModel(
      appId: appId,
      documentID: newRandomKey(),
      conditions: conditions,
      height: 1,
      description: 'new divider');
}