ActivityFailedEventDetails.fromJson constructor

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

Implementation

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