newInstance method

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

Implementation

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