EvaluateOnExit.fromJson constructor

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

Implementation

factory EvaluateOnExit.fromJson(Map<String, dynamic> json) {
  return EvaluateOnExit(
    action: (json['action'] as String).toRetryAction(),
    onExitCode: json['onExitCode'] as String?,
    onReason: json['onReason'] as String?,
    onStatusReason: json['onStatusReason'] as String?,
  );
}