DatasetAction.fromJson constructor

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

Implementation

factory DatasetAction.fromJson(Map<String, dynamic> json) {
  return DatasetAction(
    actionName: json['actionName'] as String?,
    containerAction: json['containerAction'] != null
        ? ContainerDatasetAction.fromJson(
            json['containerAction'] as Map<String, dynamic>)
        : null,
    queryAction: json['queryAction'] != null
        ? SqlQueryDatasetAction.fromJson(
            json['queryAction'] as Map<String, dynamic>)
        : null,
  );
}