TaskTimedOutEventDetails.fromJson constructor

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

Implementation

factory TaskTimedOutEventDetails.fromJson(Map<String, dynamic> json) {
  return TaskTimedOutEventDetails(
    resource: json['resource'] as String,
    resourceType: json['resourceType'] as String,
    cause: json['cause'] as String?,
    error: json['error'] as String?,
  );
}