ProfileUpdate<T>.update constructor

const ProfileUpdate<T>.update(
  1. T? data
)

Creates a new profile update to update data.

This method sets this.data to data, isUpdate to true and isDelete to false.

Implementation

const ProfileUpdate.update(this.data);