ActivityStartedEventDetails.fromJson constructor

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

Implementation

factory ActivityStartedEventDetails.fromJson(Map<String, dynamic> json) {
  return ActivityStartedEventDetails(
    workerName: json['workerName'] as String?,
  );
}