ExecAction.fromJson constructor
Creates a ExecAction from JSON data.
Implementation
factory ExecAction.fromJson(Map<String, dynamic> json) {
final tempCommandJson = json['command'];
final List<String>? tempCommand =
tempCommandJson != null ? List<String>.from(tempCommandJson) : null;
return ExecAction(
command: tempCommand,
);
}