UIBlock constructor

UIBlock({
  1. RowVersion? rowVersion,
  2. UIBlockId? id,
  3. String? displayName,
  4. Any? payload,
  5. Timestamp? createdTime,
  6. Timestamp? updatedTime,
})

Implementation

factory UIBlock({
  $1.RowVersion? rowVersion,
  $0.UIBlockId? id,
  $core.String? displayName,
  $2.Any? payload,
  $3.Timestamp? createdTime,
  $3.Timestamp? updatedTime,
}) {
  final result = create();
  if (rowVersion != null) result.rowVersion = rowVersion;
  if (id != null) result.id = id;
  if (displayName != null) result.displayName = displayName;
  if (payload != null) result.payload = payload;
  if (createdTime != null) result.createdTime = createdTime;
  if (updatedTime != null) result.updatedTime = updatedTime;
  return result;
}