ImageNodePatch constructor

const ImageNodePatch({
  1. required NodeId id,
  2. CommonNodePatch? common,
  3. PatchField<String> imageId = const PatchField<String>.absent(),
  4. PatchField<Size> size = const PatchField<Size>.absent(),
  5. PatchField<Size?> naturalSize = const PatchField<Size?>.absent(),
})

Implementation

const ImageNodePatch({
  required super.id,
  super.common,
  this.imageId = const PatchField<String>.absent(),
  this.size = const PatchField<Size>.absent(),
  this.naturalSize = const PatchField<Size?>.absent(),
});