AffectedByStartingStylesFlagUpdatedEvent.fromJson constructor

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

Implementation

factory AffectedByStartingStylesFlagUpdatedEvent.fromJson(
  Map<String, dynamic> json,
) {
  return AffectedByStartingStylesFlagUpdatedEvent(
    nodeId: dom.NodeId.fromJson(json['nodeId'] as int),
    affectedByStartingStyles:
        json['affectedByStartingStyles'] as bool? ?? false,
  );
}