fromJson abstract method

void fromJson(
  1. Map<String, dynamic> json
)

Deserializes JSON data into this annotation.

Implement this to update the annotation's properties from persisted data. This is called when loading saved workflows.

You typically update position, visibility, z-index, and any custom properties.

Implementation

void fromJson(Map<String, dynamic> json);