Map<String, Object?> toJson() => <String, Object?>{ 'factSource': factSource.name, 'kind': kind, 'details': details, };