TaskStartedEventDetails.fromJson constructor

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

Implementation

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