TaskSucceededEventDetails.fromJson constructor

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

Implementation

factory TaskSucceededEventDetails.fromJson(Map<String, dynamic> json) {
  return TaskSucceededEventDetails(
    resource: json['resource'] as String,
    resourceType: json['resourceType'] as String,
    output: json['output'] as String?,
    outputDetails: json['outputDetails'] != null
        ? HistoryEventExecutionDataDetails.fromJson(
            json['outputDetails'] as Map<String, dynamic>)
        : null,
  );
}