StacAction.fromJson constructor

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

Creates a StacAction instance from JSON data.

This factory constructor takes a JSON map and creates a StacAction instance. The JSON data is stored in the jsonData field for later processing by action-specific parsers.

json - The JSON map containing action data

Returns a new StacAction instance with the provided JSON data.

Implementation

factory StacAction.fromJson(Map<String, dynamic> json) {
  return StacAction(jsonData: json);
}